Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [: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.691/1.691, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0008904/0.0008904, allocations: 181.3 kB / 490.8 MB, free: 1.953 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.041/1.041, allocations: 221.3 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.000811/0.0008111, allocations: 92.67 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.021e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1664, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.6135, allocations: 171.7 MB / 1.379 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.6137, allocations: 92.83 kB / 1.379 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.07491/0.6887, allocations: 39.5 MB / 1.418 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.722e-05/0.6887, allocations: 27.75 kB / 1.418 GB, free: 10.18 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001304/0.69, allocations: 0.9583 MB / 1.419 GB, free: 9.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.6901, allocations: 8.031 kB / 1.419 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.6915, allocations: 250.5 kB / 1.419 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.6922, allocations: 0.5268 MB / 1.42 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.6922, allocations: 24 kB / 1.42 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.6923, allocations: 43.91 kB / 1.42 GB, free: 8.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008051/0.6931, allocations: 0.6179 MB / 1.42 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.6942, allocations: 1.043 MB / 1.421 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.6942, allocations: 7.938 kB / 1.421 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.6943, allocations: 4 kB / 1.421 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.6944, allocations: 60.33 kB / 1.421 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.6985, allocations: 5.794 MB / 1.427 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.6992, allocations: 0.5156 MB / 1.428 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.6995, allocations: 317.7 kB / 1.428 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.6996, allocations: 12.44 kB / 1.428 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6996, allocations: 34.38 kB / 1.428 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=47): time 1.343e-06/0.6996, allocations: 0 / 1.428 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.001751/0.7013, allocations: 1.194 MB / 1.429 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.7014, allocations: 59.84 kB / 1.429 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.7017, allocations: 399.1 kB / 1.429 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.7018, allocations: 25.7 kB / 1.429 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.7019, allocations: 348.7 kB / 1.43 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.702, allocations: 157.9 kB / 1.43 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.702, allocations: 0 / 1.43 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7022, allocations: 371.3 kB / 1.43 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.7025, allocations: 255.5 kB / 1.431 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.7028, allocations: 451.4 kB / 1.431 GB, free: 14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.7032, allocations: 331.5 kB / 1.431 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7032, allocations: 0 / 1.431 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001362/0.7046, allocations: 0.9827 MB / 1.432 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.7046, allocations: 10.75 kB / 1.432 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7046, allocations: 12.06 kB / 1.432 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/0.7054, allocations: 274.4 kB / 1.433 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.7058, allocations: 113.9 kB / 1.433 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.7104, allocations: 6.2 MB / 1.439 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.7109, allocations: 19.67 kB / 1.439 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.7109, allocations: 27.42 kB / 1.439 GB, free: 6.477 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.711, allocations: 124.9 kB / 1.439 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-05/0.7111, allocations: 71.06 kB / 1.439 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.7123, allocations: 0.8392 MB / 1.44 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7123, allocations: 4.188 kB / 1.44 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7123, allocations: 8 kB / 1.44 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7124, allocations: 3.984 kB / 1.44 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.7143, allocations: 1.597 MB / 1.441 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7143, allocations: 0 / 1.441 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.7146, allocations: 59.28 kB / 1.441 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/0.7152, allocations: 273.2 kB / 1.442 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.7153, allocations: 4 kB / 1.442 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/0.7198, allocations: 6.178 MB / 1.448 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7198, allocations: 3.938 kB / 1.448 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001194/0.721, allocations: 1.017 MB / 1.449 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.7212, allocations: 185.2 kB / 1.449 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.7213, allocations: 4 kB / 1.449 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.7216, allocations: 11.98 kB / 1.449 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.7217, allocations: 34.88 kB / 1.449 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.7217, allocations: 23.61 kB / 1.449 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002495/0.722, allocations: 292.7 kB / 1.449 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006014/0.7226, allocations: 196 kB / 1.449 GB, free: 12.41 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.7227, allocations: 112.5 kB / 1.45 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.7241, allocations: 1.151 MB / 1.451 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7241, allocations: 0 / 1.451 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.7251, allocations: 0.8091 MB / 1.451 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.7257, allocations: 164.1 kB / 1.452 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.7272, allocations: 0.9909 MB / 1.453 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.7278, allocations: 1.056 MB / 1.454 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/0.7278, allocations: 0 / 1.454 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of Templates: time 0.01368/0.7415, allocations: 10.07 MB / 1.463 GB, free: 14.54 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches