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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001836/0.001836, allocations: 193.5 kB / 16.14 MB, free: 6.645 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5231, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03157/0.5547, allocations: 33.04 MB / 1.049 GB, free: 1.629 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.576, allocations: 14.78 MB / 1.063 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.579, allocations: 139.2 kB / 1.064 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008505/0.5876, allocations: 3.401 MB / 1.067 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.5947, allocations: 2.682 MB / 1.07 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005034/0.5997, allocations: 2.129 MB / 1.072 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.611, allocations: 12.21 MB / 1.084 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.6248, allocations: 10.34 MB / 1.094 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.6301, allocations: 3.437 MB / 1.097 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005685/0.6358, allocations: 4.1 MB / 1.101 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.6374, allocations: 488 kB / 1.101 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.6416, allocations: 1.736 MB / 1.103 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.6456, allocations: 2.592 MB / 1.106 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007298/0.653, allocations: 3.111 MB / 1.109 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.6685, allocations: 11 MB / 1.119 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6685, allocations: 0 / 1.119 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6685, allocations: 0 / 1.119 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002349/0.6688, allocations: 4 kB / 1.119 GB, free: 9.199 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.01957/0.6883, allocations: 5.975 MB / 1.125 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6884, allocations: 8.031 kB / 1.125 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002275/0.6907, allocations: 0.7232 MB / 1.126 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.7013, allocations: 1.142 MB / 1.127 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009292/0.7106, allocations: 3.328 MB / 1.13 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.7111, allocations: 374.4 kB / 1.131 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.7127, allocations: 495.8 kB / 1.131 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.7345, allocations: 7.997 MB / 1.139 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/0.7348, allocations: 23.78 kB / 1.139 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/0.7362, allocations: 220 kB / 1.139 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001524/0.7378, allocations: 441.5 kB / 1.14 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.7499, allocations: 6.085 MB / 1.146 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/0.7878, allocations: 35.16 MB / 1.18 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.7908, allocations: 2.026 MB / 1.182 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/0.7932, allocations: 1.861 MB / 1.184 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.7933, allocations: 18 kB / 1.184 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.7934, allocations: 60.5 kB / 1.184 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 3.406e-06/0.7934, allocations: 4 kB / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1472/0.9406, allocations: 38.88 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.9407, allocations: 81.58 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/0.9439, allocations: 2.278 MB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.9441, allocations: 73.7 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.9456, allocations: 2.272 MB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000761/0.9464, allocations: 0.9357 MB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.9474, allocations: 0.4984 MB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.9475, allocations: 313 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/0.9504, allocations: 1.977 MB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/0.9537, allocations: 2.602 MB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.9603, allocations: 4.929 MB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.9603, allocations: 4 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01413/0.9744, allocations: 7.762 MB / 1.245 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.9745, allocations: 15.94 kB / 1.245 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.9745, allocations: 16 kB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009227/0.9837, allocations: 3.214 MB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.9852, allocations: 407.1 kB / 1.248 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.473/1.458, allocations: 31.08 MB / 1.279 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/1.461, allocations: 163.4 kB / 1.279 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/1.462, allocations: 108.5 kB / 1.279 GB, free: 194.7 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.002609/1.464, allocations: 1.802 MB / 1.281 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007426/1.465, allocations: 330.2 kB / 1.281 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.476, allocations: 7.357 MB / 1.288 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.477, allocations: 27.41 kB / 1.288 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.258e-05/1.477, allocations: 35.31 kB / 1.288 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.477, allocations: 10.97 kB / 1.288 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.494, allocations: 12.92 MB / 1.301 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.494, allocations: 7.688 kB / 1.301 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/1.495, allocations: 237.6 kB / 1.301 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006944/1.502, allocations: 2.844 MB / 1.304 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.502, allocations: 56.53 kB / 1.304 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0298/1.532, allocations: 29.9 MB / 1.333 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.532, allocations: 7.938 kB / 1.333 GB, free: 153 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00993/1.542, allocations: 6.89 MB / 1.34 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.543, allocations: 0.7782 MB / 1.341 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/1.544, allocations: 56.69 kB / 1.341 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.545, allocations: 167.8 kB / 1.341 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/1.546, allocations: 253.4 kB / 1.341 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.546, allocations: 80.36 kB / 1.341 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001566/1.548, allocations: 1.521 MB / 1.343 GB, free: 143 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.548, allocations: 0 / 1.343 GB, free: 143 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003089/1.551, allocations: 1.374 MB / 1.344 GB, free: 141.7 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.009826/1.561, allocations: 7.518 MB / 1.352 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008964/1.57, allocations: 6.895 MB / 1.358 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.57, allocations: 4 kB / 1.358 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.576, allocations: 4.412 MB / 1.363 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/1.58, allocations: 1.032 MB / 1.364 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0552/1.635, allocations: 46.04 MB / 1.409 GB, free: 72.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.639, allocations: 3.638 MB / 1.412 GB, free: 69.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001937/1.641, allocations: 0.5556 MB / 1.413 GB, free: 68.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.642, allocations: 1.975 MB / 1.415 GB, free: 66.52 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.642, allocations: 0 / 1.415 GB, free: 66.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/1.774, allocations: 110 MB / 1.522 GB, free: 5.715 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.774, allocations: 254.3 kB / 1.522 GB, free: 5.453 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/5.593, allocations: 7.5 kB / 1.522 GB, free: 5.449 MB / 1.045 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