Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001003, allocations: 177.3 kB / 316 MB, free: 3.492 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 0.5667 GB, free: 15.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 90.2 kB / 0.671 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.895e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6418/0.8389, allocations: 173.9 MB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.8393, allocations: 100.5 kB / 1.054 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1837/1.023, allocations: 76.86 MB / 1.129 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001011/1.023, allocations: 47.92 kB / 1.13 GB, free: 11.68 MB / 0.7448 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.002684/1.026, allocations: 1.548 MB / 1.131 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.026, allocations: 8.031 kB / 1.131 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.036, allocations: 1.468 MB / 1.132 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/1.039, allocations: 1.142 MB / 1.134 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/1.039, allocations: 36 kB / 1.134 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/1.04, allocations: 71.91 kB / 1.134 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002537/1.042, allocations: 1.492 MB / 1.135 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/1.045, allocations: 1.912 MB / 1.137 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/1.045, allocations: 15.84 kB / 1.137 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/1.045, allocations: 4 kB / 1.137 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.54e-05/1.045, allocations: 90.12 kB / 1.137 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/1.059, allocations: 9.787 MB / 1.147 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/1.061, allocations: 1.094 MB / 1.148 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/1.062, allocations: 0.6034 MB / 1.148 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/1.062, allocations: 4.438 kB / 1.148 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.062, allocations: 43 kB / 1.148 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 4.739e-06/1.062, allocations: 3.938 kB / 1.148 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.009983/1.072, allocations: 3.948 MB / 1.152 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/1.072, allocations: 226.2 kB / 1.152 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.073, allocations: 0.7461 MB / 1.153 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.073, allocations: 25.7 kB / 1.153 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000339/1.074, allocations: 0.5532 MB / 1.154 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.074, allocations: 267.9 kB / 1.154 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/1.074, allocations: 0 / 1.154 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.074, allocations: 345.9 kB / 1.154 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/1.075, allocations: 0.6892 MB / 1.155 GB, free: 488 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.076, allocations: 0.9398 MB / 1.156 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/1.077, allocations: 0.7971 MB / 1.157 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.077, allocations: 0 / 1.157 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005224/1.083, allocations: 2.487 MB / 1.159 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.083, allocations: 8.031 kB / 1.159 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.083, allocations: 8 kB / 1.159 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/1.086, allocations: 0.8457 MB / 1.16 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/1.088, allocations: 343.4 kB / 1.16 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/1.103, allocations: 13.82 MB / 1.174 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.105, allocations: 207.7 kB / 1.174 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.105, allocations: 48.05 kB / 1.174 GB, free: 11.9 MB / 0.7917 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.0003613/1.106, allocations: 128.7 kB / 1.174 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/1.106, allocations: 134.4 kB / 1.174 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/1.112, allocations: 2.529 MB / 1.177 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.112, allocations: 8 kB / 1.177 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/1.112, allocations: 11.94 kB / 1.177 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/1.112, allocations: 15.83 kB / 1.177 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/1.12, allocations: 4.077 MB / 1.181 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.12, allocations: 3.938 kB / 1.181 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.122, allocations: 283.8 kB / 1.181 GB, free: 4.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.125, allocations: 0.7677 MB / 1.182 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.125, allocations: 19.97 kB / 1.182 GB, free: 3.758 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.139, allocations: 13.39 MB / 1.195 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.139, allocations: 0 / 1.195 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004889/1.144, allocations: 2.472 MB / 1.197 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/1.145, allocations: 371.4 kB / 1.198 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/1.145, allocations: 12.08 kB / 1.198 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.147, allocations: 207.7 kB / 1.198 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.147, allocations: 48.52 kB / 1.198 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.148, allocations: 39.97 kB / 1.198 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000935/1.148, allocations: 0.5602 MB / 1.199 GB, free: 1.594 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001953/1.15, allocations: 400 kB / 1.199 GB, free: 1.203 MB / 0.8073 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.0004755/1.151, allocations: 135.1 kB / 1.199 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005471/1.156, allocations: 2.701 MB / 1.202 GB, free: 14.28 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.156, allocations: 0 / 1.202 GB, free: 14.28 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.16, allocations: 1.848 MB / 1.203 GB, free: 12.35 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.163, allocations: 406.4 kB / 1.204 GB, free: 11.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/1.171, allocations: 2.606 MB / 1.206 GB, free: 9.273 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.173, allocations: 1.495 MB / 1.208 GB, free: 7.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/1.173, allocations: 0 / 1.208 GB, free: 7.75 MB / 0.823 GB Notification: Performance of Templates: time 0.04921/1.222, allocations: 30.28 MB / 1.237 GB, free: 9.73 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches