Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001577, allocations: 111.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9535, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008341/0.9619, allocations: 6.743 MB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005272/0.9672, allocations: 3.047 MB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.968, allocations: 27.81 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.9707, allocations: 0.9481 MB / 1.178 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.9724, allocations: 0.5168 MB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.9737, allocations: 436.7 kB / 1.179 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.9754, allocations: 1.228 MB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.9766, allocations: 0.6504 MB / 1.181 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.9775, allocations: 490.2 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.9785, allocations: 0.5137 MB / 1.182 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.9788, allocations: 72 kB / 1.182 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.9798, allocations: 375.2 kB / 1.182 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.9802, allocations: 303.2 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008483/0.9811, allocations: 449.7 kB / 1.183 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.983, allocations: 1.22 MB / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.983, allocations: 0 / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.983, allocations: 0 / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.412e-05/0.983, allocations: 0 / 1.184 GB, free: 2.914 MB / 0.9044 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.002474/0.9855, allocations: 1.161 MB / 1.185 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9856, allocations: 16.88 kB / 1.185 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.9872, allocations: 239.5 kB / 1.185 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.9883, allocations: 0.5921 MB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.9883, allocations: 41.69 kB / 1.186 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.9884, allocations: 72.27 kB / 1.186 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.99, allocations: 1.081 MB / 1.187 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.99, allocations: 7.938 kB / 1.187 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.9901, allocations: 31.98 kB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.9903, allocations: 85.25 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.9914, allocations: 0.7504 MB / 1.188 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/0.9971, allocations: 5.874 MB / 1.194 GB, free: 8.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.9982, allocations: 0.5593 MB / 1.194 GB, free: 7.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.9987, allocations: 327.3 kB / 1.194 GB, free: 7.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.9988, allocations: 4.438 kB / 1.194 GB, free: 7.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.9988, allocations: 43 kB / 1.194 GB, free: 7.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.9988, allocations: 0 / 1.194 GB, free: 7.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003935/1.003, allocations: 1.986 MB / 1.196 GB, free: 5.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.003, allocations: 63.83 kB / 1.196 GB, free: 5.238 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/1.003, allocations: 0.547 MB / 1.197 GB, free: 4.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.004, allocations: 41.64 kB / 1.197 GB, free: 4.637 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/1.004, allocations: 414.9 kB / 1.197 GB, free: 4.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.004, allocations: 177.5 kB / 1.198 GB, free: 4.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.004, allocations: 122.6 kB / 1.198 GB, free: 3.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.004, allocations: 370.7 kB / 1.198 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/1.005, allocations: 277.8 kB / 1.198 GB, free: 3.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/1.005, allocations: 497 kB / 1.199 GB, free: 2.699 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/1.006, allocations: 0.8055 MB / 1.2 GB, free: 1.801 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/1.006, allocations: 4 kB / 1.2 GB, free: 1.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001878/1.008, allocations: 1.095 MB / 1.201 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.008, allocations: 8 kB / 1.201 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.008, allocations: 4 kB / 1.201 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008731/1.009, allocations: 279.5 kB / 1.201 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/1.01, allocations: 123.8 kB / 1.201 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/1.016, allocations: 7.138 MB / 1.208 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/1.017, allocations: 39.95 kB / 1.208 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/1.017, allocations: 32 kB / 1.208 GB, free: 8.488 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003873/1.017, allocations: 253.6 kB / 1.208 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.017, allocations: 71.16 kB / 1.208 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/1.019, allocations: 0.8846 MB / 1.209 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/1.019, allocations: 4 kB / 1.209 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.019, allocations: 8 kB / 1.209 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.019, allocations: 0 / 1.209 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/1.022, allocations: 1.732 MB / 1.211 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.022, allocations: 0 / 1.211 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/1.022, allocations: 67.83 kB / 1.211 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007506/1.023, allocations: 263.4 kB / 1.211 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/1.023, allocations: 12 kB / 1.211 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/1.029, allocations: 7.131 MB / 1.218 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.029, allocations: 0 / 1.218 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.031, allocations: 0.9873 MB / 1.219 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/1.031, allocations: 188.2 kB / 1.219 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.031, allocations: 15.94 kB / 1.219 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/1.032, allocations: 31.91 kB / 1.219 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.032, allocations: 39.94 kB / 1.22 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/1.032, allocations: 16 kB / 1.22 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004461/1.032, allocations: 383.1 kB / 1.22 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.032, allocations: 0 / 1.22 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00088/1.033, allocations: 228 kB / 1.22 GB, free: 11.46 MB / 0.9512 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001688/1.033, allocations: 111.2 kB / 1.22 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.035, allocations: 1.271 MB / 1.221 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.035, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.037, allocations: 0.8971 MB / 1.222 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.038, allocations: 225.1 kB / 1.223 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/1.04, allocations: 1.374 MB / 1.224 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/1.041, allocations: 1.012 MB / 1.225 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.041, allocations: 47.44 kB / 1.225 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/1.041, allocations: 0 / 1.225 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of Templates: time 0.02724/1.068, allocations: 20.7 MB / 1.245 GB, free: 1.684 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches