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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007214/0.007214, allocations: 101 kB / 15.73 MB, free: 6.004 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.001784/0.001784, allocations: 187 kB / 16.67 MB, free: 5.922 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.423/2.423, allocations: 469.4 MB / 0.7421 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.08 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.7018, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03544/0.7373, allocations: 34.84 MB / 1.254 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.7545, allocations: 11.5 MB / 1.265 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.7572, allocations: 163.2 kB / 1.265 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009812/0.767, allocations: 4.248 MB / 1.269 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.7724, allocations: 2.092 MB / 1.271 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.7785, allocations: 2.404 MB / 1.274 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009625/0.7881, allocations: 8.475 MB / 1.282 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.8025, allocations: 11.13 MB / 1.293 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005324/0.8079, allocations: 3.798 MB / 1.297 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006242/0.8141, allocations: 4.179 MB / 1.301 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.8163, allocations: 0.789 MB / 1.301 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.8208, allocations: 2.028 MB / 1.303 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003885/0.8247, allocations: 3.053 MB / 1.306 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005987/0.8307, allocations: 3.4 MB / 1.31 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.8435, allocations: 12.01 MB / 1.321 GB, free: 9.766 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.8436, allocations: 7.984 kB / 1.321 GB, free: 9.758 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8436, allocations: 0 / 1.321 GB, free: 9.758 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000372/0.844, allocations: 0 / 1.321 GB, free: 9.758 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.01723/0.8612, allocations: 5.939 MB / 1.327 GB, free: 3.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8613, allocations: 12.62 kB / 1.327 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00214/0.8634, allocations: 0.8051 MB / 1.328 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006392/0.8698, allocations: 1.09 MB / 1.329 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007308/0.8771, allocations: 3.459 MB / 1.332 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.8775, allocations: 419.4 kB / 1.333 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.879, allocations: 0.5432 MB / 1.333 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.8955, allocations: 9.083 MB / 1.342 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.8957, allocations: 31.81 kB / 1.342 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.8967, allocations: 232 kB / 1.343 GB, free: 3.684 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.8971, allocations: 350.8 kB / 1.343 GB, free: 3.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.9096, allocations: 6.826 MB / 1.35 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.9525, allocations: 39.86 MB / 1.388 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.9561, allocations: 3.114 MB / 1.391 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.9587, allocations: 1.985 MB / 1.393 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.9589, allocations: 22 kB / 1.393 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.9589, allocations: 52.5 kB / 1.393 GB, free: 11.62 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 4.398e-06/0.9589, allocations: 0 / 1.393 GB, free: 11.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02339/0.9823, allocations: 10.05 MB / 1.403 GB, free: 1.48 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9824, allocations: 73.41 kB / 1.403 GB, free: 1.395 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.9845, allocations: 1.53 MB / 1.405 GB, free: 15.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.9847, allocations: 57.7 kB / 1.405 GB, free: 15.75 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.986, allocations: 2.316 MB / 1.407 GB, free: 13.42 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.9866, allocations: 0.6662 MB / 1.408 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006187/0.9872, allocations: 412.1 kB / 1.408 GB, free: 12.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.9873, allocations: 305.1 kB / 1.409 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.9888, allocations: 1.179 MB / 1.41 GB, free: 10.85 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.9909, allocations: 1.885 MB / 1.412 GB, free: 8.648 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.9947, allocations: 3.371 MB / 1.415 GB, free: 4.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.9947, allocations: 8 kB / 1.415 GB, free: 4.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007292/1.002, allocations: 4.586 MB / 1.419 GB, free: 360 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/1.002, allocations: 16 kB / 1.419 GB, free: 344 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.002, allocations: 20 kB / 1.419 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/1.006, allocations: 1.585 MB / 1.421 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.007, allocations: 351.4 kB / 1.421 GB, free: 14.38 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/1.029, allocations: 18.61 MB / 1.439 GB, free: 11.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.031, allocations: 115.9 kB / 1.44 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/1.031, allocations: 95.98 kB / 1.44 GB, free: 11 MB / 1.17 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.002973/1.034, allocations: 1.894 MB / 1.441 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/1.035, allocations: 234.5 kB / 1.442 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/1.041, allocations: 4.094 MB / 1.446 GB, free: 4.738 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.041, allocations: 16 kB / 1.446 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/1.041, allocations: 23.94 kB / 1.446 GB, free: 4.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.041, allocations: 15.89 kB / 1.446 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.057, allocations: 9.466 MB / 1.455 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.057, allocations: 8.031 kB / 1.455 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/1.057, allocations: 179.7 kB / 1.455 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/1.061, allocations: 1.357 MB / 1.456 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.061, allocations: 32 kB / 1.456 GB, free: 9.379 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01962/1.08, allocations: 17.36 MB / 1.473 GB, free: 7.461 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.08, allocations: 7.938 kB / 1.473 GB, free: 7.453 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/1.087, allocations: 4.083 MB / 1.477 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.088, allocations: 0.5385 MB / 1.478 GB, free: 2.719 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/1.088, allocations: 40 kB / 1.478 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.09, allocations: 83.89 kB / 1.478 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/1.09, allocations: 161.7 kB / 1.478 GB, free: 2.438 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.09, allocations: 48 kB / 1.478 GB, free: 2.391 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001403/1.091, allocations: 1.005 MB / 1.479 GB, free: 1.363 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.01e-07/1.091, allocations: 4 kB / 1.479 GB, free: 1.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002805/1.094, allocations: 0.9844 MB / 1.48 GB, free: 384 kB / 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.006366/1.101, allocations: 4.68 MB / 1.485 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006328/1.107, allocations: 4.319 MB / 1.489 GB, free: 7.23 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.107, allocations: 0 / 1.489 GB, free: 7.23 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.111, allocations: 2.678 MB / 1.492 GB, free: 4.508 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/1.114, allocations: 0.7743 MB / 1.492 GB, free: 3.766 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04169/1.156, allocations: 27 MB / 1.519 GB, free: 7.68 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.161, allocations: 3.569 MB / 1.522 GB, free: 4.078 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001349/1.163, allocations: 463.9 kB / 1.523 GB, free: 3.621 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002293/1.165, allocations: 1.788 MB / 1.524 GB, free: 1.832 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/1.165, allocations: 4 kB / 1.524 GB, free: 1.828 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6679/1.833, allocations: 73.9 MB / 1.597 GB, free: 301.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/14.55, allocations: 21.31 kB / 1.597 GB, free: 301.9 MB / 1.279 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 50 --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