Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 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_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.005449/0.005449, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001203/0.001203, allocations: 192.7 kB / 16.79 MB, free: 5.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.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 62.92 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3541, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01138/0.3655, allocations: 6.811 MB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006471/0.3721, allocations: 3.071 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.3732, allocations: 27.81 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.3763, allocations: 0.8937 MB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.3781, allocations: 481.7 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3796, allocations: 407 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.382, allocations: 1.591 MB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.3834, allocations: 0.6484 MB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3844, allocations: 418.3 kB / 1.067 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.3856, allocations: 0.5214 MB / 1.067 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.3858, allocations: 48 kB / 1.067 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.387, allocations: 459.1 kB / 1.068 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.3875, allocations: 287.1 kB / 1.068 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007886/0.3883, allocations: 429.7 kB / 1.068 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3898, allocations: 0.9353 MB / 1.069 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3898, allocations: 4 kB / 1.069 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3898, allocations: 0 / 1.069 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.3899, allocations: 0 / 1.069 GB, free: 7.25 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002802/0.3927, allocations: 1.169 MB / 1.07 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3927, allocations: 15.97 kB / 1.07 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.3944, allocations: 231.6 kB / 1.071 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3955, allocations: 0.553 MB / 1.071 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.3956, allocations: 53.67 kB / 1.071 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.3957, allocations: 68.27 kB / 1.071 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3976, allocations: 1.081 MB / 1.072 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.3976, allocations: 11.94 kB / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.3977, allocations: 27.98 kB / 1.072 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.3979, allocations: 85.25 kB / 1.073 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3992, allocations: 0.7543 MB / 1.073 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006877/0.4061, allocations: 5.897 MB / 1.079 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4072, allocations: 0.5516 MB / 1.08 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.4078, allocations: 326 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.4079, allocations: 4.438 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4079, allocations: 43 kB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.4079, allocations: 0 / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.004214/0.4121, allocations: 1.99 MB / 1.082 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4122, allocations: 55.84 kB / 1.082 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.413, allocations: 0.5703 MB / 1.082 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.4131, allocations: 33.7 kB / 1.083 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.4134, allocations: 414.9 kB / 1.083 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4136, allocations: 173.6 kB / 1.083 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.4138, allocations: 126.5 kB / 1.083 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003052/0.4142, allocations: 374.7 kB / 1.084 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.4147, allocations: 277.8 kB / 1.084 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.4153, allocations: 0.4892 MB / 1.084 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4164, allocations: 0.8093 MB / 1.085 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4165, allocations: 0 / 1.085 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002009/0.4185, allocations: 1.086 MB / 1.086 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4185, allocations: 10.75 kB / 1.086 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4185, allocations: 8 kB / 1.086 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.4195, allocations: 279.2 kB / 1.086 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.42, allocations: 123.8 kB / 1.087 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.4274, allocations: 6.602 MB / 1.093 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.4281, allocations: 35.97 kB / 1.093 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.4282, allocations: 28 kB / 1.093 GB, free: 13.39 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 (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.0004306/0.4286, allocations: 257.5 kB / 1.093 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4288, allocations: 71.16 kB / 1.093 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4305, allocations: 0.8887 MB / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4305, allocations: 7.938 kB / 1.094 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4305, allocations: 4 kB / 1.094 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4305, allocations: 0 / 1.094 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.4334, allocations: 1.728 MB / 1.096 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.4335, allocations: 4.125 kB / 1.096 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4337, allocations: 63.89 kB / 1.096 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.4346, allocations: 267.3 kB / 1.096 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4346, allocations: 8 kB / 1.096 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006607/0.4412, allocations: 6.587 MB / 1.103 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4413, allocations: 0 / 1.103 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.443, allocations: 0.9877 MB / 1.104 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.4434, allocations: 192.2 kB / 1.104 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.4436, allocations: 11.94 kB / 1.104 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.444, allocations: 35.95 kB / 1.104 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4442, allocations: 43.89 kB / 1.104 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4442, allocations: 11.94 kB / 1.104 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004856/0.4447, allocations: 391.1 kB / 1.104 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4447, allocations: 4 kB / 1.104 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009575/0.4457, allocations: 224 kB / 1.105 GB, free: 0.9062 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 (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.0002254/0.4459, allocations: 119.1 kB / 1.105 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.4482, allocations: 1.275 MB / 1.106 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4482, allocations: 0 / 1.106 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4495, allocations: 0.8932 MB / 1.107 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.4507, allocations: 206.8 kB / 1.107 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.4536, allocations: 1.708 MB / 1.109 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.4543, allocations: 1.009 MB / 1.11 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4545, allocations: 43.44 kB / 1.11 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of SimCode: time 8.12e-07/0.4545, allocations: 0 / 1.11 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.02791/0.4824, allocations: 20.85 MB / 1.13 GB, free: 6.664 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches