Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") [: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.739/1.739, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009341/0.000934, allocations: 180.4 kB / 490.8 MB, free: 1.902 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.077/1.077, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.0008218/0.0008218, allocations: 101 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.776e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.6481, allocations: 148.8 MB / 1.357 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.6483, allocations: 69.17 kB / 1.357 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001415/0.6497, allocations: 375.7 kB / 1.357 GB, free: 17.11 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6498, allocations: 0 / 1.357 GB, free: 17.11 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.0002698/0.65, allocations: 336.4 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.6501, allocations: 13.77 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.6501, allocations: 1.5 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.6502, allocations: 164.9 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.6502, allocations: 0 / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.6502, allocations: 5.859 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.497e-05/0.6503, allocations: 10 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.298e-05/0.6503, allocations: 40.33 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6503, allocations: 2.938 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.6504, allocations: 0 / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6504, allocations: 1.891 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.6507, allocations: 249.4 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.6507, allocations: 28.25 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.6508, allocations: 12.08 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.6508, allocations: 1 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.6508, allocations: 32.31 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.6508, allocations: 0.5469 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.6509, allocations: 46.55 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.41e-05/0.651, allocations: 53.17 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.651, allocations: 97.36 kB / 1.358 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.651, allocations: 26.95 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.6511, allocations: 83.22 kB / 1.358 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.6511, allocations: 5.609 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.6511, allocations: 0.875 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.6512, allocations: 316.9 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.6512, allocations: 6.031 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.6512, allocations: 6.969 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.572e-05/0.6512, allocations: 7.016 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6512, allocations: 0.9688 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.636e-05/0.6513, allocations: 43.72 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6513, allocations: 5.562 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.6513, allocations: 0 / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.6513, allocations: 1.672 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.6514, allocations: 16.53 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.6514, allocations: 0 / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.6515, allocations: 9.359 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.6515, allocations: 1.188 kB / 1.359 GB, free: 31.54 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.491e-05/0.6516, allocations: 101.5 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.6516, allocations: 10.61 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.6517, allocations: 51.08 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6517, allocations: 1.188 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6517, allocations: 0 / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.6517, allocations: 0 / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.6518, allocations: 143 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6518, allocations: 4.688 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.6519, allocations: 15.45 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6519, allocations: 0.7969 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.6519, allocations: 1.062 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.6519, allocations: 0 / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6519, allocations: 3.094 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.607e-05/0.652, allocations: 135.9 kB / 1.359 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.652, allocations: 79.02 kB / 1.359 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.652, allocations: 4.031 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.6521, allocations: 9.453 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.6521, allocations: 3.578 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.6522, allocations: 3.875 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.549e-05/0.6522, allocations: 83.3 kB / 1.359 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001849/0.6524, allocations: 3.312 kB / 1.359 GB, free: 30.91 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 9.222e-05/0.6525, allocations: 102.3 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.859e-05/0.6525, allocations: 12 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.6525, allocations: 1.25 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.6526, allocations: 8.062 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.6527, allocations: 10.67 kB / 1.36 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001499/0.6529, allocations: 59.97 kB / 1.36 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.6531, allocations: 0.6916 MB / 1.36 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6531, allocations: 0 / 1.36 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.001717/0.6548, allocations: 407.9 kB / 1.361 GB, free: 30 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches