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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00138/0.00138, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 196 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.19 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009146/0.382, allocations: 6.172 MB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00554/0.3875, allocations: 3.2 MB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.3883, allocations: 23.81 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.391, allocations: 0.879 MB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3925, allocations: 434 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3938, allocations: 459 kB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.3957, allocations: 1.467 MB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3969, allocations: 0.6328 MB / 1.066 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008296/0.3978, allocations: 386.3 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.3986, allocations: 490.1 kB / 1.067 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3988, allocations: 44 kB / 1.067 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.4001, allocations: 0.5769 MB / 1.067 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000393/0.4005, allocations: 275.2 kB / 1.067 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006694/0.4012, allocations: 389.9 kB / 1.068 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.4024, allocations: 0.8964 MB / 1.069 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4024, allocations: 4 kB / 1.069 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4024, allocations: 3.938 kB / 1.069 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.653e-05/0.4025, allocations: 0 / 1.069 GB, free: 7.988 MB / 0.8262 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.002333/0.4048, allocations: 1.056 MB / 1.07 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4049, allocations: 15.97 kB / 1.07 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.4066, allocations: 223.6 kB / 1.07 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.4076, allocations: 0.5414 MB / 1.07 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.4076, allocations: 49.67 kB / 1.07 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.4077, allocations: 64.3 kB / 1.071 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.4094, allocations: 1.034 MB / 1.072 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.4094, allocations: 7.938 kB / 1.072 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.4095, allocations: 27.98 kB / 1.072 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.674e-05/0.4096, allocations: 73.27 kB / 1.072 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4108, allocations: 0.6918 MB / 1.072 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/0.4167, allocations: 5.745 MB / 1.078 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.4176, allocations: 0.5943 MB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.4184, allocations: 423.3 kB / 1.079 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.4184, allocations: 4 kB / 1.079 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4185, allocations: 34.56 kB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.575e-06/0.4185, allocations: 3.938 kB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004711/0.4232, allocations: 2.065 MB / 1.081 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4233, allocations: 55.41 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.4238, allocations: 458.8 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.4239, allocations: 33.7 kB / 1.082 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.4242, allocations: 395 kB / 1.082 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.4243, allocations: 145.9 kB / 1.082 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.4245, allocations: 110.2 kB / 1.082 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4247, allocations: 370.7 kB / 1.082 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.425, allocations: 253.2 kB / 1.083 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.4256, allocations: 461 kB / 1.083 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.4265, allocations: 0.7478 MB / 1.084 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.4265, allocations: 4 kB / 1.084 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001994/0.4285, allocations: 1.074 MB / 1.085 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.4286, allocations: 8 kB / 1.085 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4286, allocations: 4 kB / 1.085 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4297, allocations: 331.3 kB / 1.085 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.43, allocations: 99.81 kB / 1.085 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/0.4369, allocations: 6.954 MB / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.4374, allocations: 28.02 kB / 1.092 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.4375, allocations: 28 kB / 1.092 GB, free: 14.27 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.0004067/0.4379, allocations: 245.8 kB / 1.092 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.438, allocations: 59.34 kB / 1.093 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.4398, allocations: 0.9117 MB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4398, allocations: 4 kB / 1.093 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.4399, allocations: 7.938 kB / 1.093 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4399, allocations: 11.98 kB / 1.093 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.4426, allocations: 1.708 MB / 1.095 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4426, allocations: 8.188 kB / 1.095 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4428, allocations: 35.97 kB / 1.095 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009686/0.4437, allocations: 323 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.4438, allocations: 12 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/0.4505, allocations: 6.939 MB / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4505, allocations: 4 kB / 1.102 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4523, allocations: 1.007 MB / 1.103 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.4526, allocations: 172.4 kB / 1.103 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4527, allocations: 8 kB / 1.103 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.453, allocations: 24.25 kB / 1.103 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4532, allocations: 43.89 kB / 1.103 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4532, allocations: 15.92 kB / 1.103 GB, free: 2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003733/0.4536, allocations: 318.8 kB / 1.104 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4536, allocations: 0 / 1.104 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008774/0.4545, allocations: 192 kB / 1.104 GB, free: 1.504 MB / 0.8575 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.0001738/0.4547, allocations: 115.2 kB / 1.104 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002/0.4567, allocations: 1.197 MB / 1.105 GB, free: 136 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4567, allocations: 0 / 1.105 GB, free: 136 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4579, allocations: 0.8699 MB / 1.106 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4589, allocations: 192.2 kB / 1.106 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4618, allocations: 1.596 MB / 1.108 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.4626, allocations: 0.996 MB / 1.109 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4627, allocations: 35.44 kB / 1.109 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.4627, allocations: 0 / 1.109 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.02708/0.4898, allocations: 18.65 MB / 1.127 GB, free: 9.707 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=480 -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