Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 15.61 MB, free: 148 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.001559/0.001559, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.468/2.468, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.91 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5486, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03365/0.5823, allocations: 33.33 MB / 1.05 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.6036, allocations: 14.82 MB / 1.064 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.6085, allocations: 151.2 kB / 1.065 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00871/0.6173, allocations: 3.653 MB / 1.068 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.6247, allocations: 2.891 MB / 1.071 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005141/0.6298, allocations: 2.317 MB / 1.073 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008908/0.6388, allocations: 8.821 MB / 1.082 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.6498, allocations: 9.632 MB / 1.091 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.6547, allocations: 3.942 MB / 1.095 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.6599, allocations: 4.038 MB / 1.099 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001654/0.6615, allocations: 0.7148 MB / 1.1 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.6653, allocations: 1.716 MB / 1.101 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.6679, allocations: 2.83 MB / 1.104 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003067/0.6709, allocations: 3.396 MB / 1.108 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.679, allocations: 11.11 MB / 1.118 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.679, allocations: 0 / 1.118 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.473e-06/0.679, allocations: 0 / 1.118 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001777/0.6792, allocations: 0 / 1.118 GB, free: 10.69 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.009396/0.6886, allocations: 5.979 MB / 1.124 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6886, allocations: 8.031 kB / 1.124 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007902/0.6894, allocations: 0.7232 MB / 1.125 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.6952, allocations: 1.149 MB / 1.126 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006066/0.7013, allocations: 3.328 MB / 1.129 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.7016, allocations: 378.3 kB / 1.13 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008415/0.7024, allocations: 499.8 kB / 1.13 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.7135, allocations: 7.993 MB / 1.138 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.7136, allocations: 31.78 kB / 1.138 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/0.7141, allocations: 216 kB / 1.138 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/0.7151, allocations: 437.5 kB / 1.139 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008693/0.7238, allocations: 6.081 MB / 1.145 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03077/0.7546, allocations: 35.16 MB / 1.179 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.757, allocations: 2.018 MB / 1.181 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.7592, allocations: 1.873 MB / 1.183 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.822e-05/0.7593, allocations: 18 kB / 1.183 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.7594, allocations: 56.5 kB / 1.183 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 3.717e-06/0.7594, allocations: 4 kB / 1.183 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1585/0.9178, allocations: 38.87 MB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.9179, allocations: 81.58 kB / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/0.9223, allocations: 2.278 MB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004905/0.9228, allocations: 73.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.9245, allocations: 2.28 MB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.9255, allocations: 0.9241 MB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.9268, allocations: 0.5061 MB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9269, allocations: 313.1 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/0.93, allocations: 1.97 MB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/0.9337, allocations: 2.602 MB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006999/0.9407, allocations: 4.933 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.9408, allocations: 4 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01531/0.9561, allocations: 7.762 MB / 1.244 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.9562, allocations: 12 kB / 1.244 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.9562, allocations: 20 kB / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009594/0.9658, allocations: 3.238 MB / 1.247 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.9676, allocations: 407.2 kB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.557/1.525, allocations: 33.89 MB / 1.281 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/1.528, allocations: 163 kB / 1.281 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.528, allocations: 107.9 kB / 1.281 GB, free: 193 MB / 0.9981 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003261/1.531, allocations: 1.801 MB / 1.283 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.532, allocations: 333.2 kB / 1.283 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.544, allocations: 7.359 MB / 1.29 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/1.544, allocations: 27.47 kB / 1.29 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.84e-05/1.544, allocations: 27.59 kB / 1.29 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/1.544, allocations: 15.05 kB / 1.29 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.563, allocations: 12.93 MB / 1.303 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.563, allocations: 7.312 kB / 1.303 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/1.563, allocations: 227 kB / 1.303 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00686/1.57, allocations: 2.888 MB / 1.306 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.571, allocations: 52 kB / 1.306 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03233/1.603, allocations: 32.69 MB / 1.338 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.603, allocations: 7.938 kB / 1.338 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.613, allocations: 6.89 MB / 1.345 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.615, allocations: 0.7756 MB / 1.345 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/1.615, allocations: 55.98 kB / 1.345 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.617, allocations: 175.7 kB / 1.345 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008264/1.618, allocations: 245.5 kB / 1.346 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.618, allocations: 76 kB / 1.346 GB, free: 140 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001929/1.62, allocations: 1.525 MB / 1.347 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.62, allocations: 0 / 1.347 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004957/1.625, allocations: 1.375 MB / 1.349 GB, free: 137.1 MB / 0.9981 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01051/1.635, allocations: 7.515 MB / 1.356 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.647, allocations: 8.376 MB / 1.364 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.647, allocations: 0 / 1.364 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006359/1.654, allocations: 4.415 MB / 1.368 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/1.658, allocations: 1.115 MB / 1.37 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05472/1.713, allocations: 43.86 MB / 1.412 GB, free: 68.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/1.716, allocations: 3.639 MB / 1.416 GB, free: 65.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001904/1.718, allocations: 0.5634 MB / 1.416 GB, free: 64.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.719, allocations: 1.968 MB / 1.418 GB, free: 62.66 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.719, allocations: 0 / 1.418 GB, free: 62.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.884, allocations: 112.6 MB / 1.528 GB, free: 15.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.83, allocations: 3.812 kB / 1.528 GB, free: 15.29 MB / 1.061 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches