Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 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.002033/0.002033, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.606/1.606, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.85/2.85, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7188, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01004/0.7289, allocations: 6.808 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.735, allocations: 3.063 MB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.7358, allocations: 31.81 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.7385, allocations: 0.9414 MB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.74, allocations: 0.4973 MB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.7413, allocations: 454.9 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.743, allocations: 1.236 MB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.7442, allocations: 0.6641 MB / 1.031 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009228/0.7452, allocations: 470.3 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.7462, allocations: 0.5176 MB / 1.032 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.7465, allocations: 64 kB / 1.032 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.7475, allocations: 383.2 kB / 1.032 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.748, allocations: 315.1 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.7487, allocations: 445.8 kB / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.7505, allocations: 1.207 MB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7505, allocations: 4 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7505, allocations: 0 / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.079e-05/0.7505, allocations: 0 / 1.034 GB, free: 1.363 MB / 0.7794 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.002523/0.7531, allocations: 1.161 MB / 1.035 GB, free: 156 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.7531, allocations: 12.03 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.7548, allocations: 247.6 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.7557, allocations: 0.553 MB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.7558, allocations: 45.69 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.7559, allocations: 64.36 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7577, allocations: 1.081 MB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.7577, allocations: 7.844 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/0.7578, allocations: 39.98 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.758, allocations: 85.25 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.7594, allocations: 0.7465 MB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/0.7664, allocations: 5.905 MB / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.7676, allocations: 0.5527 MB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.7681, allocations: 330 kB / 1.045 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.7681, allocations: 4.438 kB / 1.045 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.7682, allocations: 47 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.7682, allocations: 4 kB / 1.045 GB, free: 5.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.004254/0.7725, allocations: 1.978 MB / 1.047 GB, free: 3.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.7725, allocations: 59.84 kB / 1.047 GB, free: 3.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.7733, allocations: 0.5664 MB / 1.047 GB, free: 3.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.7733, allocations: 37.7 kB / 1.047 GB, free: 3.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.7737, allocations: 414.9 kB / 1.048 GB, free: 2.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.7739, allocations: 177.5 kB / 1.048 GB, free: 2.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.7741, allocations: 126.5 kB / 1.048 GB, free: 2.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.7743, allocations: 378.7 kB / 1.048 GB, free: 1.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.7748, allocations: 273.8 kB / 1.048 GB, free: 1.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.7754, allocations: 493 kB / 1.049 GB, free: 1.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7765, allocations: 0.8093 MB / 1.05 GB, free: 248 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7765, allocations: 3.938 kB / 1.05 GB, free: 244 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002041/0.7786, allocations: 1.083 MB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7786, allocations: 8 kB / 1.051 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.7786, allocations: 8 kB / 1.051 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009117/0.7796, allocations: 279.3 kB / 1.051 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.7801, allocations: 127.8 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.7877, allocations: 7.141 MB / 1.058 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.7883, allocations: 35.97 kB / 1.058 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.7884, allocations: 28 kB / 1.058 GB, free: 6.945 MB / 0.8106 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.0004049/0.7888, allocations: 265.5 kB / 1.058 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.789, allocations: 71.16 kB / 1.059 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.7907, allocations: 0.8925 MB / 1.059 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7907, allocations: 4 kB / 1.059 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7907, allocations: 8 kB / 1.059 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7907, allocations: 0 / 1.059 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.7936, allocations: 1.721 MB / 1.061 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7936, allocations: 4 kB / 1.061 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.7939, allocations: 63.89 kB / 1.061 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/0.7947, allocations: 267.3 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.7948, allocations: 12 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007371/0.8021, allocations: 7.131 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8022, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.8038, allocations: 0.9874 MB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.8041, allocations: 192.3 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8042, allocations: 11.91 kB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.8047, allocations: 31.91 kB / 1.07 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.8049, allocations: 47.88 kB / 1.07 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.8049, allocations: 16 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006539/0.8056, allocations: 391.1 kB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8056, allocations: 0 / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001122/0.8068, allocations: 220 kB / 1.07 GB, free: 9.883 MB / 0.8262 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.0002812/0.807, allocations: 119.1 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.8103, allocations: 1.334 MB / 1.072 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.8103, allocations: 4 kB / 1.072 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.8124, allocations: 0.8816 MB / 1.073 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.8143, allocations: 229.7 kB / 1.073 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.8182, allocations: 1.347 MB / 1.074 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.8196, allocations: 1.013 MB / 1.075 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.8204, allocations: 130 kB / 1.075 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.8206, allocations: 43.42 kB / 1.075 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.8207, allocations: 0 / 1.075 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of Templates: time 0.03965/0.8603, allocations: 11.19 MB / 1.086 GB, free: 9.551 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches