Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.002146/0.002145, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.663/2.663, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.05 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8319, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00839/0.8403, allocations: 6.157 MB / 1.089 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005909/0.8463, allocations: 3.171 MB / 1.092 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.8471, allocations: 34.06 kB / 1.092 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.8498, allocations: 0.9333 MB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.8514, allocations: 472 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.8531, allocations: 0.5009 MB / 1.094 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.8549, allocations: 1.093 MB / 1.095 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.8561, allocations: 0.6402 MB / 1.096 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.8569, allocations: 437.4 kB / 1.096 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.8576, allocations: 475.2 kB / 1.096 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.8578, allocations: 57.56 kB / 1.097 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.8589, allocations: 489.8 kB / 1.097 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.8592, allocations: 287.5 kB / 1.097 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004977/0.8598, allocations: 401.9 kB / 1.098 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.8616, allocations: 1.166 MB / 1.099 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8616, allocations: 0 / 1.099 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8616, allocations: 5.531 kB / 1.099 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.8616, allocations: 0 / 1.099 GB, free: 8.168 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001909/0.8636, allocations: 1.06 MB / 1.1 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8636, allocations: 9.125 kB / 1.1 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.8652, allocations: 223.9 kB / 1.1 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.8661, allocations: 0.5396 MB / 1.101 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.8662, allocations: 50.48 kB / 1.101 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.8663, allocations: 62.25 kB / 1.101 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.868, allocations: 1.033 MB / 1.102 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.868, allocations: 16.69 kB / 1.102 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.8681, allocations: 28.39 kB / 1.102 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.8682, allocations: 69.05 kB / 1.102 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.8694, allocations: 0.6917 MB / 1.102 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.8757, allocations: 5.749 MB / 1.108 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.8767, allocations: 0.6035 MB / 1.109 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.8775, allocations: 418.9 kB / 1.109 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.8775, allocations: 5.469 kB / 1.109 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.8776, allocations: 36.41 kB / 1.109 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.365e-06/0.8776, allocations: 0 / 1.109 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004817/0.8824, allocations: 2.063 MB / 1.111 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.8825, allocations: 60.78 kB / 1.111 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.8831, allocations: 460.4 kB / 1.112 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.8832, allocations: 30.98 kB / 1.112 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.8835, allocations: 390.4 kB / 1.112 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.8837, allocations: 154.3 kB / 1.112 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.8839, allocations: 109 kB / 1.112 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.8841, allocations: 365 kB / 1.113 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.8845, allocations: 249 kB / 1.113 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.885, allocations: 452.6 kB / 1.113 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.886, allocations: 0.7554 MB / 1.114 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.886, allocations: 2.719 kB / 1.114 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002044/0.888, allocations: 1.067 MB / 1.115 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8881, allocations: 7.688 kB / 1.115 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8881, allocations: 7.406 kB / 1.115 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.8892, allocations: 333.1 kB / 1.115 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.8895, allocations: 98.55 kB / 1.116 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.8976, allocations: 7.517 MB / 1.123 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.8983, allocations: 33.53 kB / 1.123 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.8983, allocations: 25.58 kB / 1.123 GB, free: 6.379 MB / 0.8575 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004379/0.8988, allocations: 253.2 kB / 1.123 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.8989, allocations: 61.52 kB / 1.123 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.9009, allocations: 0.9165 MB / 1.124 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.9009, allocations: 4.688 kB / 1.124 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9009, allocations: 3.875 kB / 1.124 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.9009, allocations: 7.188 kB / 1.124 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.904, allocations: 1.709 MB / 1.126 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.904, allocations: 6.125 kB / 1.126 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.9042, allocations: 42.53 kB / 1.126 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009795/0.9052, allocations: 324.2 kB / 1.126 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.9052, allocations: 7.469 kB / 1.126 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007723/0.9129, allocations: 7.509 MB / 1.133 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.913, allocations: 7.062 kB / 1.133 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.9148, allocations: 1.011 MB / 1.134 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.9151, allocations: 176.6 kB / 1.135 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.9152, allocations: 12.95 kB / 1.135 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.9154, allocations: 16.77 kB / 1.135 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.9156, allocations: 46.06 kB / 1.135 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.9156, allocations: 17.22 kB / 1.135 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004019/0.916, allocations: 312.8 kB / 1.135 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.916, allocations: 0 / 1.135 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008972/0.9169, allocations: 197.7 kB / 1.135 GB, free: 13.29 MB / 0.8731 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.9171, allocations: 114 kB / 1.135 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.9191, allocations: 1.243 MB / 1.137 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9191, allocations: 0 / 1.137 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.9203, allocations: 0.8616 MB / 1.137 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.9213, allocations: 203.8 kB / 1.138 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.9234, allocations: 1.312 MB / 1.139 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.9241, allocations: 0.992 MB / 1.14 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.9242, allocations: 41.62 kB / 1.14 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.9242, allocations: 0 / 1.14 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of Templates: time 0.02767/0.9519, allocations: 18.67 MB / 1.158 GB, free: 15.52 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches