Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009274/0.0009275, allocations: 181.2 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.063/1.063, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007991/0.0007991, allocations: 95 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.566e-06, allocations: 8 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1739, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.6269, allocations: 148.8 MB / 1.357 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001605/0.6271, allocations: 66.09 kB / 1.357 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001335/0.6284, allocations: 374.8 kB / 1.357 GB, free: 17.44 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6285, allocations: 0 / 1.357 GB, free: 17.44 MB / 0.823 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.0002703/0.6287, allocations: 334.6 kB / 1.358 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.6288, allocations: 10.72 kB / 1.358 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.6288, allocations: 1.219 kB / 1.358 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.6289, allocations: 165.7 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.6289, allocations: 0 / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.6289, allocations: 1.312 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.422e-05/0.629, allocations: 18.78 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.794e-05/0.629, allocations: 35.88 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.629, allocations: 0 / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.629, allocations: 0 / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.629, allocations: 1.219 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.6293, allocations: 253 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.6294, allocations: 27.27 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.6294, allocations: 8.328 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.6294, allocations: 4.875 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-06/0.6295, allocations: 35.75 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6295, allocations: 0 / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001136/0.6296, allocations: 43.11 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.272e-05/0.6296, allocations: 53.47 kB / 1.358 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.6297, allocations: 98.28 kB / 1.358 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-06/0.6297, allocations: 25.7 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.6297, allocations: 81.52 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.6297, allocations: 9.438 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.6297, allocations: 1.375 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.6298, allocations: 316.5 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.6298, allocations: 5.656 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.6299, allocations: 10.19 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.516e-05/0.6299, allocations: 3.375 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6299, allocations: 0 / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.549e-05/0.6299, allocations: 48.17 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.63, allocations: 4.375 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.63, allocations: 2.844 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.63, allocations: 4.094 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.6301, allocations: 11.75 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.6301, allocations: 0 / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.6301, allocations: 9.562 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6301, allocations: 1.25 kB / 1.359 GB, free: 31.86 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.47e-05/0.6302, allocations: 106.1 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.6302, allocations: 5.031 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.6303, allocations: 52.97 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.6303, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6303, allocations: 1.156 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6303, allocations: 3.297 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.6304, allocations: 134.4 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6304, allocations: 0.6094 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.6305, allocations: 20.7 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6305, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.6305, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6305, allocations: 1.797 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6305, allocations: 3.984 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.292e-05/0.6306, allocations: 140.1 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.6306, allocations: 82.69 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.6306, allocations: 1.656 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.6307, allocations: 9.172 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.6308, allocations: 2.453 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-06/0.6308, allocations: 0 / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.86e-05/0.6308, allocations: 82.91 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001854/0.631, allocations: 3.688 kB / 1.36 GB, free: 31.24 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.421e-05/0.6311, allocations: 106 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.6311, allocations: 13.39 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.6312, allocations: 0 / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.6312, allocations: 4.344 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.6313, allocations: 6.547 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001379/0.6315, allocations: 56.34 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.6317, allocations: 0.6955 MB / 1.36 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6317, allocations: 4.969 kB / 1.36 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.001637/0.6334, allocations: 394.9 kB / 1.361 GB, free: 30.33 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches