Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006708/0.006708, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001481/0.001481, allocations: 197.4 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 222.9 MB / 240.5 MB, free: 4.43 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.409/2.409, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6399, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00182/0.6418, allocations: 0.7681 MB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006108/0.6424, allocations: 0.7972 MB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.6425, allocations: 0 / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.6425, allocations: 0 / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.6426, allocations: 13.5 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-05/0.6426, allocations: 9.406 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.79e-05/0.6427, allocations: 48.38 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.6428, allocations: 16.75 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.6429, allocations: 9.984 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.6429, allocations: 21.98 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.6429, allocations: 2.656 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.643, allocations: 1.5 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.643, allocations: 9.641 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.643, allocations: 10.66 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.429e-05/0.6431, allocations: 34.7 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6431, allocations: 0 / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.6431, allocations: 4 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6431, allocations: 0 / 0.9513 GB, free: 7.797 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004591/0.6436, allocations: 365.8 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6436, allocations: 9.625 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.6436, allocations: 2.312 kB / 0.9517 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/0.6437, allocations: 171 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6437, allocations: 1.75 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.6437, allocations: 9.75 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.644, allocations: 72.16 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6441, allocations: 192 / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6441, allocations: 7.938 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6441, allocations: 1.375 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.6444, allocations: 62.3 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.6447, allocations: 264.1 kB / 0.9522 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.6449, allocations: 64.41 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.6451, allocations: 40.17 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.6451, allocations: 0 / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.6451, allocations: 31.94 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.6451, allocations: 0 / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004947/0.6456, allocations: 133.9 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.6457, allocations: 51.41 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.6457, allocations: 111.5 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.6458, allocations: 27.08 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.6458, allocations: 89.45 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.6458, allocations: 13.2 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.6458, allocations: 12.09 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.6459, allocations: 316.7 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.646, allocations: 37.61 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.6462, allocations: 29.03 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.6464, allocations: 66.88 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6464, allocations: 7.938 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002796/0.6467, allocations: 97.94 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6467, allocations: 9.406 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6467, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6468, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.6469, allocations: 18.92 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6469, allocations: 0 / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.647, allocations: 18.5 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.647, allocations: 1.297 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.647, allocations: 116.5 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.6471, allocations: 1.781 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.6471, allocations: 12.53 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.6471, allocations: 5.641 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6471, allocations: 0 / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6471, allocations: 0 / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6472, allocations: 173.6 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6473, allocations: 0 / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.6474, allocations: 14.14 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6474, allocations: 1.625 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6474, allocations: 4 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6474, allocations: 0 / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6474, allocations: 5.312 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.6477, allocations: 202.9 kB / 0.9539 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.6477, allocations: 78.8 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.6477, allocations: 1.5 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6479, allocations: 10.27 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6479, allocations: 10.95 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.6479, allocations: 0 / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.6479, allocations: 90.12 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.648, allocations: 0 / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002106/0.6482, allocations: 6 kB / 0.9541 GB, free: 5.102 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.6483, allocations: 101.5 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.6486, allocations: 66.8 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6486, allocations: 4 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.6488, allocations: 36.22 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.6491, allocations: 12.62 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.6494, allocations: 159.8 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.6495, allocations: 0.6848 MB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.6495, allocations: 8.688 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.6495, allocations: 0 / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.002231/0.6518, allocations: 0.7461 MB / 0.9558 GB, free: 3.703 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches