Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [: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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009366/0.0009366, allocations: 185.2 kB / 487 MB, free: 5.328 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.114/1.114, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 94.67 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.031e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5062/0.6912, allocations: 152.6 MB / 1.354 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.6914, allocations: 78.5 kB / 1.354 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02585/0.7173, allocations: 10.65 MB / 1.365 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.7173, allocations: 8 kB / 1.365 GB, free: 12.36 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005218/0.7179, allocations: 0.5216 MB / 1.365 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.7179, allocations: 13.02 kB / 1.365 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.718, allocations: 31.62 kB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.7185, allocations: 398.7 kB / 1.366 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.7186, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.7186, allocations: 8 kB / 1.366 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.7187, allocations: 62.47 kB / 1.366 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.7188, allocations: 91.95 kB / 1.366 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7189, allocations: 0 / 1.366 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7189, allocations: 3.984 kB / 1.366 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7189, allocations: 7.906 kB / 1.366 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.7194, allocations: 493.4 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.7196, allocations: 122.6 kB / 1.366 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.7196, allocations: 38.48 kB / 1.366 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.7197, allocations: 7.984 kB / 1.366 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.7198, allocations: 100.6 kB / 1.367 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.7198, allocations: 0 / 1.367 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002434/0.72, allocations: 148.5 kB / 1.367 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.7201, allocations: 55.41 kB / 1.367 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.7205, allocations: 458.6 kB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.7205, allocations: 29.7 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.7205, allocations: 125.7 kB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.7206, allocations: 34.88 kB / 1.367 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.7206, allocations: 4 kB / 1.367 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.7206, allocations: 345.7 kB / 1.368 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.7208, allocations: 113.4 kB / 1.368 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.7209, allocations: 142.2 kB / 1.368 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.7212, allocations: 143.5 kB / 1.368 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7212, allocations: 0 / 1.368 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005129/0.7218, allocations: 358.2 kB / 1.368 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.7218, allocations: 12.16 kB / 1.368 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7218, allocations: 0 / 1.368 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7218, allocations: 3.938 kB / 1.368 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.722, allocations: 47.97 kB / 1.368 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.722, allocations: 0 / 1.368 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.7222, allocations: 19.78 kB / 1.368 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.7222, allocations: 27.8 kB / 1.369 GB, free: 8.848 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.875e-05/0.7223, allocations: 105.7 kB / 1.369 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.7223, allocations: 35.53 kB / 1.369 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.7226, allocations: 177.3 kB / 1.369 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7226, allocations: 4 kB / 1.369 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7226, allocations: 0 / 1.369 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7226, allocations: 0 / 1.369 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.7228, allocations: 279.9 kB / 1.369 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7228, allocations: 8 kB / 1.369 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.7228, allocations: 15.92 kB / 1.369 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7229, allocations: 4 kB / 1.369 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.7229, allocations: 3.984 kB / 1.369 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7229, allocations: 0 / 1.369 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7229, allocations: 4 kB / 1.369 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001959/0.7231, allocations: 186.7 kB / 1.369 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.7232, allocations: 124.6 kB / 1.369 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.7232, allocations: 7.922 kB / 1.369 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7233, allocations: 4 kB / 1.369 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.7234, allocations: 19.03 kB / 1.369 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.7234, allocations: 4 kB / 1.369 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002151/0.7236, allocations: 302.9 kB / 1.37 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002706/0.7239, allocations: 63.88 kB / 1.37 GB, free: 7.641 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005365/0.7244, allocations: 341.7 kB / 1.37 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.7247, allocations: 182.7 kB / 1.37 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7247, allocations: 0 / 1.37 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.7248, allocations: 64.61 kB / 1.37 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.7251, allocations: 72.77 kB / 1.37 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.7257, allocations: 432.6 kB / 1.371 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.726, allocations: 0.8283 MB / 1.372 GB, free: 21.92 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/0.726, allocations: 0 / 1.372 GB, free: 21.92 MB / 0.823 GB Notification: Performance of Templates: time 0.005849/0.7319, allocations: 3.64 MB / 1.375 GB, free: 18.34 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches