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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.006102/0.006102, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001319/0.001319, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 482.4 MB / 0.7548 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.91 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 162.2 MB / 1.241 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.5672/0.8731, allocations: 34.83 MB / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.8928, allocations: 11.49 MB / 1.287 GB, free: 5.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.8959, allocations: 159.3 kB / 1.287 GB, free: 5.672 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.9069, allocations: 4.26 MB / 1.291 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.9135, allocations: 1.99 MB / 1.293 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.9203, allocations: 2.397 MB / 1.295 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.9312, allocations: 8.463 MB / 1.304 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01633/0.9476, allocations: 11.14 MB / 1.314 GB, free: 8.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007415/0.955, allocations: 3.745 MB / 1.318 GB, free: 6.527 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007852/0.9629, allocations: 4.182 MB / 1.322 GB, free: 4.688 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002353/0.9653, allocations: 0.7798 MB / 1.323 GB, free: 4.688 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.9709, allocations: 2.029 MB / 1.325 GB, free: 4.184 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005009/0.976, allocations: 3.051 MB / 1.328 GB, free: 2.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007906/0.9839, allocations: 3.399 MB / 1.331 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01881/1.003, allocations: 12.02 MB / 1.343 GB, free: 9.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.003, allocations: 0 / 1.343 GB, free: 9.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/1.003, allocations: 1.281 kB / 1.343 GB, free: 9.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002724/1.003, allocations: 0 / 1.343 GB, free: 9.781 MB / 1.045 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.01406/1.017, allocations: 5.939 MB / 1.349 GB, free: 5.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.017, allocations: 9.094 kB / 1.349 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/1.018, allocations: 0.8063 MB / 1.35 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/1.024, allocations: 1.084 MB / 1.351 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/1.03, allocations: 3.468 MB / 1.354 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/1.031, allocations: 410.2 kB / 1.354 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008641/1.032, allocations: 0.5465 MB / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/1.047, allocations: 9.085 MB / 1.364 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/1.047, allocations: 23.83 kB / 1.364 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/1.047, allocations: 236 kB / 1.364 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/1.048, allocations: 346.8 kB / 1.364 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/1.06, allocations: 6.83 MB / 1.371 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04335/1.103, allocations: 39.86 MB / 1.41 GB, free: 8.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/1.107, allocations: 3.114 MB / 1.413 GB, free: 5.238 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00273/1.11, allocations: 1.981 MB / 1.415 GB, free: 3.266 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.11, allocations: 25.98 kB / 1.415 GB, free: 3.238 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/1.11, allocations: 52.56 kB / 1.415 GB, free: 3.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=179): time 3.657e-06/1.11, allocations: 0 / 1.415 GB, free: 3.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=182): time 0.02513/1.135, allocations: 10.05 MB / 1.425 GB, free: 9.039 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.135, allocations: 69.41 kB / 1.425 GB, free: 8.957 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/1.137, allocations: 1.526 MB / 1.426 GB, free: 7.387 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.137, allocations: 53.7 kB / 1.426 GB, free: 7.328 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.139, allocations: 2.331 MB / 1.429 GB, free: 4.973 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/1.14, allocations: 0.6623 MB / 1.429 GB, free: 4.305 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006605/1.14, allocations: 412.1 kB / 1.43 GB, free: 3.895 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.14, allocations: 305.1 kB / 1.43 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.142, allocations: 1.179 MB / 1.431 GB, free: 2.41 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/1.145, allocations: 1.885 MB / 1.433 GB, free: 212 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/1.149, allocations: 3.367 MB / 1.436 GB, free: 12.53 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/1.149, allocations: 8 kB / 1.436 GB, free: 12.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00813/1.157, allocations: 4.594 MB / 1.441 GB, free: 7.902 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.157, allocations: 12.78 kB / 1.441 GB, free: 7.891 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.157, allocations: 24 kB / 1.441 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/1.161, allocations: 1.572 MB / 1.442 GB, free: 6.285 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.163, allocations: 351.4 kB / 1.443 GB, free: 5.941 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02565/1.188, allocations: 18.62 MB / 1.461 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.19, allocations: 115.9 kB / 1.461 GB, free: 2.648 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/1.191, allocations: 100 kB / 1.461 GB, free: 2.551 MB / 1.154 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.003522/1.194, allocations: 1.89 MB / 1.463 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.195, allocations: 234.5 kB / 1.463 GB, free: 428 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007733/1.202, allocations: 4.102 MB / 1.467 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.202, allocations: 16 kB / 1.467 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-05/1.202, allocations: 20 kB / 1.467 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.202, allocations: 12.02 kB / 1.467 GB, free: 12.24 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.22, allocations: 9.461 MB / 1.476 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.22, allocations: 4 kB / 1.476 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/1.221, allocations: 183.7 kB / 1.477 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/1.225, allocations: 1.352 MB / 1.478 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.225, allocations: 36 kB / 1.478 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/1.248, allocations: 17.37 MB / 1.495 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.248, allocations: 11.94 kB / 1.495 GB, free: 15.01 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007524/1.256, allocations: 4.083 MB / 1.499 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.257, allocations: 0.5346 MB / 1.5 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/1.258, allocations: 47.83 kB / 1.5 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.259, allocations: 87.89 kB / 1.5 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004528/1.259, allocations: 161.7 kB / 1.5 GB, free: 9.992 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.26, allocations: 48 kB / 1.5 GB, free: 9.945 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001582/1.261, allocations: 1.005 MB / 1.501 GB, free: 8.918 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.261, allocations: 0 / 1.501 GB, free: 8.918 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003382/1.265, allocations: 0.9883 MB / 1.502 GB, free: 7.93 MB / 1.201 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.007438/1.272, allocations: 4.68 MB / 1.506 GB, free: 3.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007356/1.279, allocations: 4.315 MB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.279, allocations: 1 kB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/1.284, allocations: 2.677 MB / 1.513 GB, free: 12.06 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/1.288, allocations: 0.7759 MB / 1.514 GB, free: 11.32 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04908/1.337, allocations: 26.98 MB / 1.54 GB, free: 15.25 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/1.343, allocations: 3.569 MB / 1.544 GB, free: 11.65 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001487/1.345, allocations: 471.8 kB / 1.544 GB, free: 11.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/1.347, allocations: 1.78 MB / 1.546 GB, free: 9.402 MB / 1.248 GB Notification: Performance of SimCode: time 9.32e-07/1.347, allocations: 0 / 1.546 GB, free: 9.402 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.484, allocations: 73.91 MB / 1.618 GB, free: 180 kB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.64, allocations: 10.38 kB / 1.618 GB, free: 172 kB / 1.311 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > 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.csv","/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