Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 99.27 kB / 16.02 MB, free: 76 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.001321/0.001322, allocations: 183 kB / 16.92 MB, free: 6.918 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 12.72 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3138, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03736/0.3512, allocations: 33.72 MB / 1.092 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.3704, allocations: 11.38 MB / 1.103 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004941/0.3754, allocations: 139.2 kB / 1.104 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.379, allocations: 0.6899 MB / 1.104 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.3856, allocations: 1.875 MB / 1.106 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006108/0.3917, allocations: 2.002 MB / 1.108 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.4051, allocations: 12.39 MB / 1.12 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02665/0.4318, allocations: 14.35 MB / 1.134 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.4374, allocations: 2.618 MB / 1.137 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.4437, allocations: 3.554 MB / 1.14 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.4454, allocations: 328 kB / 1.14 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/0.4507, allocations: 1.911 MB / 1.142 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004486/0.4552, allocations: 2.455 MB / 1.145 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005732/0.461, allocations: 2.73 MB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.4741, allocations: 9.982 MB / 1.157 GB, free: 480 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.4741, allocations: 0 / 1.157 GB, free: 480 kB / 0.9044 GB Notification: Performance of FrontEnd: time 3.527e-06/0.4741, allocations: 3.938 kB / 1.157 GB, free: 476 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004361/0.4746, allocations: 0 / 1.157 GB, free: 476 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01388/0.4885, allocations: 4.656 MB / 1.162 GB, free: 11.74 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4885, allocations: 15.97 kB / 1.162 GB, free: 11.72 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/0.4958, allocations: 1.064 MB / 1.163 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007412/0.5033, allocations: 3.258 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/0.5038, allocations: 419.5 kB / 1.166 GB, free: 6.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/0.5058, allocations: 0.5392 MB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.5294, allocations: 9.071 MB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004318/0.5299, allocations: 35.7 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/0.5321, allocations: 236 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005484/0.5327, allocations: 346.8 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.549, allocations: 6.83 MB / 1.183 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0531/0.6021, allocations: 40.18 MB / 1.222 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.6066, allocations: 3.113 MB / 1.225 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.6095, allocations: 1.947 MB / 1.227 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.6096, allocations: 21.98 kB / 1.227 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.6097, allocations: 56.56 kB / 1.227 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=179): time 4.058e-06/0.6097, allocations: 4 kB / 1.227 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=182): time 0.0267/0.6364, allocations: 10.04 MB / 1.237 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.6365, allocations: 73.34 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.6392, allocations: 1.522 MB / 1.239 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.6394, allocations: 57.64 kB / 1.239 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.641, allocations: 2.257 MB / 1.241 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007447/0.6418, allocations: 0.6277 MB / 1.241 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.6421, allocations: 182.1 kB / 1.242 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6423, allocations: 309.1 kB / 1.242 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.6441, allocations: 1.183 MB / 1.243 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.6464, allocations: 1.877 MB / 1.245 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6185/1.265, allocations: 3.364 MB / 1.248 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.659e-05/1.265, allocations: 6.031 kB / 1.248 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008232/1.273, allocations: 4.583 MB / 1.253 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/1.273, allocations: 19.7 kB / 1.253 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/1.273, allocations: 23.28 kB / 1.253 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/1.277, allocations: 1.579 MB / 1.254 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.278, allocations: 353.2 kB / 1.255 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/1.301, allocations: 17.05 MB / 1.271 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.303, allocations: 118.5 kB / 1.271 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/1.303, allocations: 95.45 kB / 1.271 GB, free: 161 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003365/1.307, allocations: 1.897 MB / 1.273 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/1.307, allocations: 223.8 kB / 1.273 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00737/1.315, allocations: 4.101 MB / 1.277 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.315, allocations: 17.34 kB / 1.278 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/1.315, allocations: 17 kB / 1.278 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/1.315, allocations: 9.938 kB / 1.278 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.331, allocations: 9.465 MB / 1.287 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.331, allocations: 6.344 kB / 1.287 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/1.332, allocations: 177.2 kB / 1.287 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/1.336, allocations: 1.356 MB / 1.288 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.336, allocations: 35.02 kB / 1.288 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.353, allocations: 15.99 MB / 1.304 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.353, allocations: 3.531 kB / 1.304 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/1.359, allocations: 4.077 MB / 1.308 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/1.36, allocations: 0.541 MB / 1.308 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/1.36, allocations: 35.09 kB / 1.308 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/1.361, allocations: 92.84 kB / 1.309 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/1.361, allocations: 158.2 kB / 1.309 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/1.361, allocations: 49.28 kB / 1.309 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001188/1.363, allocations: 1.004 MB / 1.31 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.363, allocations: 0 / 1.31 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002919/1.366, allocations: 0.9865 MB / 1.311 GB, free: 140.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002336/1.366, allocations: 150.9 kB / 1.311 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005629/1.371, allocations: 4.288 MB / 1.315 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.371, allocations: 3.875 kB / 1.315 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003472/1.375, allocations: 2.678 MB / 1.318 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.379, allocations: 0.7161 MB / 1.318 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.395, allocations: 11.79 MB / 1.33 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/1.398, allocations: 3.666 MB / 1.333 GB, free: 119 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/1.399, allocations: 123.4 kB / 1.334 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/1.399, allocations: 0 / 1.334 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1391/1.538, allocations: 158.8 MB / 1.489 GB, free: 8.039 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches