Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [: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.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.000892/0.000892, allocations: 177.3 kB / 490.8 MB, free: 1.961 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.062/1.062, allocations: 221.4 MB / 0.7863 GB, free: 13.72 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.0008008/0.0008009, allocations: 88.67 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.239e-06/5.249e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1652, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.6124, allocations: 148.8 MB / 1.357 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001573/0.6126, allocations: 63.78 kB / 1.357 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001996/0.6146, allocations: 0.7783 MB / 1.358 GB, free: 17.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6146, allocations: 1.219 kB / 1.358 GB, free: 17.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002778/0.6149, allocations: 353.3 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.6149, allocations: 8.5 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.615, allocations: 9.469 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.6151, allocations: 185.9 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.6151, allocations: 2.344 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6151, allocations: 4.344 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.611e-05/0.6152, allocations: 29.53 kB / 1.358 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.6153, allocations: 90.23 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6153, allocations: 0 / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.6153, allocations: 2.047 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.6153, allocations: 1.406 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.6157, allocations: 407.8 kB / 1.359 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.147e-05/0.6158, allocations: 45.03 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.6158, allocations: 18.56 kB / 1.359 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.6158, allocations: 3.562 kB / 1.359 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.6158, allocations: 32.27 kB / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6158, allocations: 0 / 1.359 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.616, allocations: 47.89 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.522e-05/0.616, allocations: 82.69 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.6161, allocations: 118.1 kB / 1.359 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.6161, allocations: 25.7 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.6161, allocations: 109.4 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.6161, allocations: 6.109 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6161, allocations: 0 / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.6162, allocations: 322.1 kB / 1.36 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.6162, allocations: 7.188 kB / 1.36 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.6163, allocations: 18.36 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.693e-05/0.6163, allocations: 5.203 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.6163, allocations: 0 / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.305e-05/0.6164, allocations: 58.72 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.6164, allocations: 5.562 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6164, allocations: 7.5 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6164, allocations: 1.516 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.6165, allocations: 6.328 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.6165, allocations: 0.7031 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.6165, allocations: 5.281 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.6165, allocations: 1.844 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.416e-05/0.6165, allocations: 107.3 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.6166, allocations: 10.31 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.6166, allocations: 9.938 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6166, allocations: 5.406 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.6166, allocations: 0 / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6166, allocations: 1.969 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.6169, allocations: 441 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6169, allocations: 1.062 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.6169, allocations: 3.078 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6169, allocations: 1.375 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.6169, allocations: 5.375 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6169, allocations: 0.5625 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6169, allocations: 1.125 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.845e-05/0.617, allocations: 83.61 kB / 1.36 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.617, allocations: 89.33 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.617, allocations: 1.984 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.6171, allocations: 5.406 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-06/0.6171, allocations: 4.703 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.6171, allocations: 2.062 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.778e-05/0.6171, allocations: 101.4 kB / 1.36 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001595/0.6173, allocations: 7.344 kB / 1.36 GB, free: 30.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 7.159e-05/0.6174, allocations: 96.7 kB / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.46e-05/0.6174, allocations: 17.64 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.6175, allocations: 4.125 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.6175, allocations: 11.19 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.196e-05/0.6176, allocations: 6.719 kB / 1.361 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.6177, allocations: 104.9 kB / 1.361 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.618, allocations: 0.7089 MB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.618, allocations: 4.125 kB / 1.361 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.001633/0.6196, allocations: 330 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches