Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001528/0.001528, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 71.7 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3579, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.5493/0.9072, allocations: 30.76 MB / 1.094 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.9288, allocations: 13.58 MB / 1.108 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.933, allocations: 143.8 kB / 1.108 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009456/0.9425, allocations: 3.2 MB / 1.111 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.953, allocations: 2.661 MB / 1.113 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/0.9603, allocations: 2.014 MB / 1.115 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01295/0.9732, allocations: 7.625 MB / 1.123 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.9876, allocations: 8.271 MB / 1.131 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00815/0.9958, allocations: 3.4 MB / 1.134 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007739/1.004, allocations: 3.382 MB / 1.138 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/1.006, allocations: 0.5949 MB / 1.138 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/1.012, allocations: 1.494 MB / 1.14 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005642/1.018, allocations: 2.364 MB / 1.142 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01013/1.028, allocations: 2.89 MB / 1.145 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.045, allocations: 9.395 MB / 1.154 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/1.045, allocations: 1.438 kB / 1.154 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.365e-06/1.045, allocations: 0 / 1.154 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003663/1.045, allocations: 0 / 1.154 GB, free: 8.656 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0185/1.064, allocations: 5.134 MB / 1.159 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.064, allocations: 10.25 kB / 1.159 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008015/1.072, allocations: 0.9998 MB / 1.16 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008048/1.08, allocations: 2.887 MB / 1.163 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004332/1.08, allocations: 318.6 kB / 1.163 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/1.082, allocations: 421.4 kB / 1.163 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/1.101, allocations: 6.791 MB / 1.17 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/1.102, allocations: 19.83 kB / 1.17 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.104, allocations: 184 kB / 1.17 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/1.105, allocations: 368 kB / 1.171 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.117, allocations: 5.118 MB / 1.176 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/1.161, allocations: 30.74 MB / 1.206 GB, free: 7.008 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.163, allocations: 1.392 MB / 1.207 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.165, allocations: 1.345 MB / 1.208 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/1.165, allocations: 13.31 kB / 1.208 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/1.165, allocations: 47.88 kB / 1.208 GB, free: 4.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 4.217e-06/1.165, allocations: 0 / 1.208 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.09072/1.256, allocations: 23.07 MB / 1.231 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.256, allocations: 73.41 kB / 1.231 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/1.259, allocations: 2.055 MB / 1.233 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/1.26, allocations: 61.7 kB / 1.233 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.261, allocations: 2.01 MB / 1.235 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/1.262, allocations: 0.6856 MB / 1.236 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008589/1.263, allocations: 404.1 kB / 1.236 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/1.263, allocations: 313 kB / 1.236 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.265, allocations: 1.43 MB / 1.238 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/1.267, allocations: 2.01 MB / 1.24 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/1.272, allocations: 3.696 MB / 1.243 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.272, allocations: 8 kB / 1.243 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01105/1.283, allocations: 5.657 MB / 1.249 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/1.283, allocations: 15.94 kB / 1.249 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.283, allocations: 20 kB / 1.249 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/1.29, allocations: 2.091 MB / 1.251 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.292, allocations: 379.3 kB / 1.251 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03899/1.331, allocations: 38.45 MB / 1.289 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/1.334, allocations: 127.9 kB / 1.289 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004689/1.334, allocations: 92 kB / 1.289 GB, free: 14.22 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003316/1.337, allocations: 1.512 MB / 1.29 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/1.338, allocations: 284.6 kB / 1.291 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.349, allocations: 5.212 MB / 1.296 GB, free: 7.125 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.349, allocations: 16 kB / 1.296 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/1.349, allocations: 20 kB / 1.296 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.349, allocations: 11.95 kB / 1.296 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.368, allocations: 9.677 MB / 1.305 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.368, allocations: 4 kB / 1.305 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/1.369, allocations: 219.6 kB / 1.306 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005888/1.375, allocations: 1.85 MB / 1.307 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.376, allocations: 43.98 kB / 1.307 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03691/1.412, allocations: 37.48 MB / 1.344 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.412, allocations: 11.94 kB / 1.344 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009932/1.422, allocations: 4.913 MB / 1.349 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.424, allocations: 0.6109 MB / 1.349 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009758/1.425, allocations: 43.91 kB / 1.349 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.427, allocations: 131.8 kB / 1.35 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/1.428, allocations: 189.6 kB / 1.35 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.428, allocations: 67.94 kB / 1.35 GB, free: 12.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002421/1.431, allocations: 1.374 MB / 1.351 GB, free: 11.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.01e-07/1.431, allocations: 0 / 1.351 GB, free: 11.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004648/1.435, allocations: 1.047 MB / 1.352 GB, free: 10.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.0004451/1.436, allocations: 182.8 kB / 1.352 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.448, allocations: 7.221 MB / 1.359 GB, free: 2.809 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.448, allocations: 0 / 1.359 GB, free: 2.809 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007034/1.455, allocations: 4.402 MB / 1.364 GB, free: 14.18 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/1.461, allocations: 0.9939 MB / 1.365 GB, free: 13.21 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.48, allocations: 8.695 MB / 1.373 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004899/1.485, allocations: 3.179 MB / 1.376 GB, free: 1.215 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007688/1.485, allocations: 163.4 kB / 1.376 GB, free: 1.055 MB / 1.092 GB Notification: Performance of SimCode: time 8.82e-07/1.485, allocations: 0 / 1.376 GB, free: 1.055 MB / 1.092 GB Notification: Performance of Templates: time 0.9425/2.428, allocations: 464.7 MB / 1.83 GB, free: 178.3 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches