Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.703/1.703, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008923/0.0008923, allocations: 185.2 kB / 490.8 MB, free: 1.922 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.053/1.053, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0007894/0.0007894, allocations: 88.72 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.53e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1671, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.6369, allocations: 179.9 MB / 1.387 GB, free: 16.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.6371, allocations: 94.5 kB / 1.387 GB, free: 16.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03982/0.6769, allocations: 20.69 MB / 1.408 GB, free: 3.789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.677, allocations: 11.98 kB / 1.408 GB, free: 3.777 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006529/0.6776, allocations: 0.5476 MB / 1.408 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.6777, allocations: 8.031 kB / 1.408 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007819/0.6784, allocations: 106.6 kB / 1.408 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.6788, allocations: 292.9 kB / 1.408 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.6788, allocations: 11.94 kB / 1.408 GB, free: 18.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.6789, allocations: 12 kB / 1.408 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003182/0.6792, allocations: 265.1 kB / 1.409 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.6796, allocations: 396.7 kB / 1.409 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.6796, allocations: 7.938 kB / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.6797, allocations: 0 / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.6797, allocations: 32.09 kB / 1.409 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.6814, allocations: 2.156 MB / 1.411 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.6817, allocations: 236.4 kB / 1.411 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.6818, allocations: 157.2 kB / 1.412 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.6818, allocations: 4.188 kB / 1.412 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.6818, allocations: 42.59 kB / 1.412 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.6819, allocations: 0 / 1.412 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.000909/0.6828, allocations: 0.7997 MB / 1.412 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.6828, allocations: 55.41 kB / 1.413 GB, free: 15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.683, allocations: 194.7 kB / 1.413 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.683, allocations: 25.7 kB / 1.413 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.6831, allocations: 184.9 kB / 1.413 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.6831, allocations: 77.28 kB / 1.413 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.6832, allocations: 4 kB / 1.413 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6833, allocations: 334.6 kB / 1.413 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.6835, allocations: 142.7 kB / 1.413 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6837, allocations: 231 kB / 1.414 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.684, allocations: 193.7 kB / 1.414 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.684, allocations: 0 / 1.414 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009521/0.685, allocations: 0.5526 MB / 1.414 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.685, allocations: 6.812 kB / 1.414 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.685, allocations: 4 kB / 1.414 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.6856, allocations: 180.9 kB / 1.415 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.6859, allocations: 63.2 kB / 1.415 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6881, allocations: 2.143 MB / 1.417 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.6883, allocations: 20.27 kB / 1.417 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.6884, allocations: 11 kB / 1.417 GB, free: 11.18 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.6885, allocations: 124.6 kB / 1.417 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.6885, allocations: 23.72 kB / 1.417 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.6889, allocations: 341.2 kB / 1.417 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.689, allocations: 4 kB / 1.417 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.689, allocations: 3.984 kB / 1.417 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.689, allocations: 0 / 1.417 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.6898, allocations: 0.753 MB / 1.418 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6898, allocations: 4 kB / 1.418 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.6902, allocations: 67.89 kB / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.6902, allocations: 0 / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6903, allocations: 11.48 kB / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6903, allocations: 0 / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6903, allocations: 4 kB / 1.418 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005955/0.6909, allocations: 0.6256 MB / 1.419 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.691, allocations: 131.2 kB / 1.419 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.6911, allocations: 4 kB / 1.419 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.6912, allocations: 7.984 kB / 1.419 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.6913, allocations: 18.98 kB / 1.419 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6913, allocations: 15.84 kB / 1.419 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001138/0.6914, allocations: 152.1 kB / 1.419 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003424/0.6918, allocations: 80 kB / 1.419 GB, free: 9.148 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 0.0001393/0.6919, allocations: 122.5 kB / 1.419 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006471/0.6926, allocations: 496.2 kB / 1.42 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6926, allocations: 0 / 1.42 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.6928, allocations: 142.9 kB / 1.42 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.693, allocations: 35.78 kB / 1.42 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.6942, allocations: 0.7043 MB / 1.42 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.6946, allocations: 0.8215 MB / 1.421 GB, free: 7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6946, allocations: 0 / 1.421 GB, free: 7 MB / 0.8386 GB Notification: Performance of Templates: time 0.006431/0.7011, allocations: 3.992 MB / 1.425 GB, free: 3.043 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches