Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 11.98 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8205, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001176/0.8217, allocations: 0.9314 MB / 0.9544 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006944/0.8224, allocations: 389.4 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.8225, allocations: 1.219 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.8225, allocations: 0 / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.8225, allocations: 0 / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.823, allocations: 85.62 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.243e-05/0.8231, allocations: 17 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.8231, allocations: 1.438 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.8232, allocations: 3.719 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.945e-05/0.8232, allocations: 14.3 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.8232, allocations: 1.031 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.8234, allocations: 70.2 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.8234, allocations: 5.75 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.8234, allocations: 31.11 kB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.8236, allocations: 71.92 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.8236, allocations: 0 / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8236, allocations: 7.938 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.8236, allocations: 0 / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003421/0.8239, allocations: 372 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.824, allocations: 9.594 kB / 0.9554 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.824, allocations: 6.203 kB / 0.9554 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.568e-05/0.8241, allocations: 160.2 kB / 0.9556 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.8241, allocations: 5.656 kB / 0.9556 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.8242, allocations: 1.5 kB / 0.9556 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.8242, allocations: 42.27 kB / 0.9556 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.8243, allocations: 1.031 kB / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8243, allocations: 0 / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8243, allocations: 0.875 kB / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.8243, allocations: 14.95 kB / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.8244, allocations: 158.5 kB / 0.9558 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.8245, allocations: 25.14 kB / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-06/0.8245, allocations: 1.438 kB / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.8247, allocations: 55.22 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8247, allocations: 1.062 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001932/0.8249, allocations: 72.27 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8249, allocations: 56.59 kB / 0.956 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.825, allocations: 99.5 kB / 0.9561 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.825, allocations: 34.8 kB / 0.9561 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.825, allocations: 80.14 kB / 0.9562 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.8251, allocations: 10.12 kB / 0.9562 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.8251, allocations: 4 kB / 0.9562 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.8251, allocations: 320.2 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.8251, allocations: 4.344 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.8252, allocations: 34.42 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.8252, allocations: 18.88 kB / 0.9566 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8252, allocations: 0 / 0.9566 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.533e-05/0.8253, allocations: 65 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8253, allocations: 5.719 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8253, allocations: 0.9062 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8254, allocations: 1.328 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.8254, allocations: 18.75 kB / 0.9567 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8254, allocations: 5.031 kB / 0.9567 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.8255, allocations: 5.156 kB / 0.9567 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8255, allocations: 7.562 kB / 0.9567 GB, free: 5.125 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.8255, allocations: 119.9 kB / 0.9568 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-06/0.8256, allocations: 2.219 kB / 0.9568 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.8256, allocations: 3.5 kB / 0.9568 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.8256, allocations: 1.031 kB / 0.9568 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8256, allocations: 4.906 kB / 0.9568 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.8256, allocations: 0 / 0.9568 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.8257, allocations: 165.6 kB / 0.957 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8257, allocations: 0.9688 kB / 0.957 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.8257, allocations: 6.062 kB / 0.957 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.8257, allocations: 0 / 0.957 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8257, allocations: 1.062 kB / 0.957 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8257, allocations: 0.8438 kB / 0.957 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.8257, allocations: 0 / 0.957 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.8259, allocations: 89.97 kB / 0.9571 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.8259, allocations: 82.11 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.8259, allocations: 5.312 kB / 0.9572 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.8259, allocations: 4 kB / 0.9572 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.8259, allocations: 2.75 kB / 0.9572 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.826, allocations: 9.359 kB / 0.9572 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.826, allocations: 78.16 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.826, allocations: 0 / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002529/0.8262, allocations: 34.55 kB / 0.9573 GB, free: 4.492 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.8265, allocations: 169.2 kB / 0.9574 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.354e-05/0.8266, allocations: 28.7 kB / 0.9575 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8267, allocations: 0 / 0.9575 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.8267, allocations: 12.44 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.778e-05/0.8268, allocations: 7.891 kB / 0.9575 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.827, allocations: 107.9 kB / 0.9576 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.8271, allocations: 0.6843 MB / 0.9583 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.8271, allocations: 5.266 kB / 0.9583 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.8272, allocations: 17.97 kB / 0.9583 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8272, allocations: 0 / 0.9583 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.003042/0.8302, allocations: 0.9927 MB / 0.9593 GB, free: 2.988 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y