Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [: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.747/1.747, allocations: 387.2 MB / 394.5 MB, free: 4.59 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009883/0.0009884, allocations: 193 kB / 487 MB, free: 11.06 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 3.961 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009206, allocations: 100.9 kB / 0.9213 GB, free: 5.062 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.781e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 142.3 MB / 1.205 GB, free: 14.77 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5092/0.6844, allocations: 190.7 MB / 1.391 GB, free: 9.344 MB / 0.8622 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.6847, allocations: 95.94 kB / 1.392 GB, free: 9.25 MB / 0.8622 GB Notification: Performance of FrontEnd: time 0.1787/0.8635, allocations: 82.74 MB / 1.472 GB, free: 5.512 MB / 0.9403 GB Notification: Performance of Transformations before backend: time 8.446e-05/0.8636, allocations: 39.92 kB / 1.472 GB, free: 5.473 MB / 0.9403 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002418/0.866, allocations: 1.555 MB / 1.474 GB, free: 3.867 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.866, allocations: 16.03 kB / 1.474 GB, free: 3.852 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009828/0.8759, allocations: 1.457 MB / 1.475 GB, free: 2.391 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.8782, allocations: 1.146 MB / 1.476 GB, free: 1.188 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.8782, allocations: 40 kB / 1.477 GB, free: 1.148 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.8784, allocations: 68 kB / 1.477 GB, free: 1.082 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002267/0.8807, allocations: 1.492 MB / 1.478 GB, free: 15.59 MB / 0.9559 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.8833, allocations: 1.92 MB / 1.48 GB, free: 13.48 MB / 0.9559 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.8833, allocations: 7.938 kB / 1.48 GB, free: 13.48 MB / 0.9559 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.8835, allocations: 4 kB / 1.48 GB, free: 13.47 MB / 0.9559 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.122e-05/0.8835, allocations: 82.19 kB / 1.48 GB, free: 13.39 MB / 0.9559 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.8956, allocations: 9.796 MB / 1.49 GB, free: 2.949 MB / 0.9559 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.8974, allocations: 1.094 MB / 1.491 GB, free: 1.828 MB / 0.9559 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/0.8981, allocations: 0.6034 MB / 1.491 GB, free: 1.223 MB / 0.9559 GB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/0.8982, allocations: 8.438 kB / 1.491 GB, free: 1.211 MB / 0.9559 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.8982, allocations: 39 kB / 1.491 GB, free: 1.164 MB / 0.9559 GB Notification: Performance of pre-optimization done (n=53): time 4.128e-06/0.8982, allocations: 3.984 kB / 1.491 GB, free: 1.16 MB / 0.9559 GB Notification: Performance of matching and sorting (n=81): time 0.008218/0.9064, allocations: 3.952 MB / 1.495 GB, free: 13.18 MB / 0.9716 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.9065, allocations: 218.3 kB / 1.495 GB, free: 12.91 MB / 0.9716 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.9074, allocations: 0.746 MB / 1.496 GB, free: 12.16 MB / 0.9716 GB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.9075, allocations: 25.7 kB / 1.496 GB, free: 12.12 MB / 0.9716 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.9078, allocations: 0.5494 MB / 1.497 GB, free: 11.57 MB / 0.9716 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.908, allocations: 271.9 kB / 1.497 GB, free: 11.3 MB / 0.9716 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.9081, allocations: 0 / 1.497 GB, free: 11.3 MB / 0.9716 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9082, allocations: 341.9 kB / 1.497 GB, free: 10.96 MB / 0.9716 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.9091, allocations: 0.7009 MB / 1.498 GB, free: 10.26 MB / 0.9716 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.9102, allocations: 0.9359 MB / 1.499 GB, free: 9.215 MB / 0.9716 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.9114, allocations: 0.793 MB / 1.5 GB, free: 8.422 MB / 0.9716 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9114, allocations: 4 kB / 1.5 GB, free: 8.418 MB / 0.9716 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004886/0.9163, allocations: 2.482 MB / 1.502 GB, free: 5.898 MB / 0.9716 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.9164, allocations: 4.75 kB / 1.502 GB, free: 5.895 MB / 0.9716 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.9164, allocations: 8 kB / 1.502 GB, free: 5.887 MB / 0.9716 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.9194, allocations: 0.8457 MB / 1.503 GB, free: 5.016 MB / 0.9716 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.9212, allocations: 335.5 kB / 1.503 GB, free: 4.688 MB / 0.9716 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.9343, allocations: 13.83 MB / 1.517 GB, free: 5.926 MB / 0.9872 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.9364, allocations: 199.7 kB / 1.517 GB, free: 5.73 MB / 0.9872 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.9365, allocations: 51.95 kB / 1.517 GB, free: 5.68 MB / 0.9872 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.9368, allocations: 136.8 kB / 1.517 GB, free: 5.543 MB / 0.9872 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.937, allocations: 126.5 kB / 1.517 GB, free: 5.418 MB / 0.9872 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00506/0.9421, allocations: 2.533 MB / 1.52 GB, free: 2.848 MB / 0.9872 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.9421, allocations: 8 kB / 1.52 GB, free: 2.84 MB / 0.9872 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9421, allocations: 11.94 kB / 1.52 GB, free: 2.828 MB / 0.9872 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9421, allocations: 4.172 kB / 1.52 GB, free: 2.824 MB / 0.9872 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/0.9489, allocations: 4.096 MB / 1.524 GB, free: 14.62 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9489, allocations: 4.031 kB / 1.524 GB, free: 14.62 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.9505, allocations: 283.6 kB / 1.524 GB, free: 14.34 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/0.9531, allocations: 0.7677 MB / 1.525 GB, free: 13.55 MB / 1.003 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.9532, allocations: 19.88 kB / 1.525 GB, free: 13.53 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.9656, allocations: 13.38 MB / 1.538 GB, free: 15.23 MB / 1.018 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9656, allocations: 4.141 kB / 1.538 GB, free: 15.23 MB / 1.018 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00414/0.9698, allocations: 2.472 MB / 1.54 GB, free: 12.62 MB / 1.018 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.9704, allocations: 379.4 kB / 1.541 GB, free: 12.23 MB / 1.018 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.9706, allocations: 8 kB / 1.541 GB, free: 12.23 MB / 1.018 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.9723, allocations: 199.9 kB / 1.541 GB, free: 12.03 MB / 1.018 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.9725, allocations: 56.5 kB / 1.541 GB, free: 11.97 MB / 1.018 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.9726, allocations: 35.97 kB / 1.541 GB, free: 11.94 MB / 1.018 GB Notification: Performance of sort global known variables: time 0.0006666/0.9732, allocations: 0.568 MB / 1.541 GB, free: 11.36 MB / 1.018 GB Notification: Performance of remove unused functions: time 0.001262/0.9745, allocations: 407.9 kB / 1.542 GB, free: 10.96 MB / 1.018 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.9748, allocations: 127.1 kB / 1.542 GB, free: 10.83 MB / 1.018 GB Notification: Performance of simCode: created initialization part: time 0.003903/0.9787, allocations: 2.709 MB / 1.545 GB, free: 8.047 MB / 1.018 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9787, allocations: 0 / 1.545 GB, free: 8.047 MB / 1.018 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.9813, allocations: 1.84 MB / 1.546 GB, free: 6.121 MB / 1.018 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9829, allocations: 409.8 kB / 1.547 GB, free: 5.723 MB / 1.018 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006229/0.9891, allocations: 2.609 MB / 1.549 GB, free: 3.035 MB / 1.018 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.9905, allocations: 1.491 MB / 1.551 GB, free: 1.516 MB / 1.018 GB Notification: Performance of SimCode: time 5.21e-07/0.9905, allocations: 4 kB / 1.551 GB, free: 1.512 MB / 1.018 GB Notification: Performance of Templates: time 0.04089/1.031, allocations: 30.25 MB / 1.58 GB, free: 3.582 MB / 1.05 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches