Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.247/3.247, allocations: 0.5107 GB / 0.8158 GB, free: 17.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 67.53 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3464, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02053/0.3669, allocations: 15.49 MB / 1.379 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008563/0.3754, allocations: 4.774 MB / 1.383 GB, free: 9.812 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008965/0.3763, allocations: 87.38 kB / 1.383 GB, free: 9.727 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.3792, allocations: 1.054 MB / 1.384 GB, free: 8.668 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.3808, allocations: 0.7776 MB / 1.385 GB, free: 7.887 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.383, allocations: 0.9219 MB / 1.386 GB, free: 6.965 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004349/0.3874, allocations: 3.618 MB / 1.389 GB, free: 3.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.3908, allocations: 2.438 MB / 1.392 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.3934, allocations: 1.632 MB / 1.393 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.3961, allocations: 1.787 MB / 1.395 GB, free: 13.4 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005333/0.3967, allocations: 336 kB / 1.396 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.3981, allocations: 0.7489 MB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.3996, allocations: 1.36 MB / 1.398 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.4011, allocations: 1.183 MB / 1.399 GB, free: 9.77 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.4064, allocations: 5.167 MB / 1.404 GB, free: 4.586 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4064, allocations: 0 / 1.404 GB, free: 4.586 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4064, allocations: 4 kB / 1.404 GB, free: 4.582 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.504e-05/0.4065, allocations: 0 / 1.404 GB, free: 4.582 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004915/0.4114, allocations: 2.634 MB / 1.406 GB, free: 1.902 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4114, allocations: 16.03 kB / 1.406 GB, free: 1.887 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/0.4119, allocations: 374.5 kB / 1.407 GB, free: 1.512 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.4158, allocations: 0.842 MB / 1.408 GB, free: 0.668 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.4193, allocations: 1.535 MB / 1.409 GB, free: 15.1 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.4195, allocations: 185.1 kB / 1.409 GB, free: 14.91 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.4199, allocations: 228.4 kB / 1.409 GB, free: 14.69 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006865/0.4268, allocations: 4.266 MB / 1.414 GB, free: 10.26 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.4268, allocations: 15.88 kB / 1.414 GB, free: 10.25 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.4271, allocations: 95.98 kB / 1.414 GB, free: 10.15 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.4273, allocations: 168.5 kB / 1.414 GB, free: 9.984 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/0.4335, allocations: 3.628 MB / 1.417 GB, free: 6.34 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.4509, allocations: 11.02 MB / 1.428 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.4541, allocations: 1.468 MB / 1.43 GB, free: 9.496 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/0.455, allocations: 0.5509 MB / 1.43 GB, free: 8.938 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.4551, allocations: 20.64 kB / 1.43 GB, free: 8.918 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.4552, allocations: 47.22 kB / 1.43 GB, free: 8.859 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.4552, allocations: 0 / 1.43 GB, free: 8.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.005687/0.4609, allocations: 3.193 MB / 1.433 GB, free: 5.645 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.461, allocations: 115.5 kB / 1.433 GB, free: 5.508 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.4624, allocations: 1.06 MB / 1.434 GB, free: 4.422 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.4625, allocations: 33.7 kB / 1.435 GB, free: 4.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.4634, allocations: 1.146 MB / 1.436 GB, free: 3.223 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.4636, allocations: 293.5 kB / 1.436 GB, free: 2.934 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/0.4641, allocations: 283.4 kB / 1.436 GB, free: 2.648 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.4643, allocations: 414.7 kB / 1.437 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.4653, allocations: 0.6167 MB / 1.437 GB, free: 1.617 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.4668, allocations: 1.185 MB / 1.438 GB, free: 176 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.4694, allocations: 1.861 MB / 1.44 GB, free: 14.05 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.4694, allocations: 8 kB / 1.44 GB, free: 14.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003445/0.4729, allocations: 2.019 MB / 1.442 GB, free: 12 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.4729, allocations: 12 kB / 1.442 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.4729, allocations: 20 kB / 1.442 GB, free: 11.97 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.4734, allocations: 159.3 kB / 1.442 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4746, allocations: 347.4 kB / 1.443 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/0.4746, allocations: 39.86 kB / 1.443 GB, free: 11.42 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4756, allocations: 127.8 kB / 1.443 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.4757, allocations: 71.98 kB / 1.443 GB, free: 11.23 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.4772, allocations: 0.9743 MB / 1.444 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.4774, allocations: 119.2 kB / 1.444 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.4797, allocations: 1.233 MB / 1.445 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4797, allocations: 8 kB / 1.445 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.4797, allocations: 4 kB / 1.445 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4797, allocations: 7.984 kB / 1.445 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/0.4856, allocations: 3.431 MB / 1.449 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4857, allocations: 8 kB / 1.449 GB, free: 5.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.4863, allocations: 160 kB / 1.449 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/0.4867, allocations: 143.3 kB / 1.449 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.4867, allocations: 16 kB / 1.449 GB, free: 4.992 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.4867, allocations: 11.88 kB / 1.449 GB, free: 4.98 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4867, allocations: 4 kB / 1.449 GB, free: 4.977 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.4889, allocations: 1.47 MB / 1.45 GB, free: 3.449 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.4895, allocations: 203.2 kB / 1.45 GB, free: 3.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.4897, allocations: 20 kB / 1.45 GB, free: 3.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.4903, allocations: 63.91 kB / 1.451 GB, free: 3.168 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4904, allocations: 64.56 kB / 1.451 GB, free: 3.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.4905, allocations: 20 kB / 1.451 GB, free: 3.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001025/0.4915, allocations: 0.6992 MB / 1.451 GB, free: 2.375 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.4915, allocations: 0 / 1.451 GB, free: 2.375 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001359/0.4928, allocations: 388 kB / 1.452 GB, free: 1.996 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002683/0.4955, allocations: 2.045 MB / 1.454 GB, free: 15.89 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.4982, allocations: 1.367 MB / 1.455 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4982, allocations: 0 / 1.455 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000984/0.4991, allocations: 0.5261 MB / 1.456 GB, free: 13.97 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5007, allocations: 276.8 kB / 1.456 GB, free: 13.7 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.5207, allocations: 12.91 MB / 1.468 GB, free: 64 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.5225, allocations: 1.336 MB / 1.47 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00118/0.5237, allocations: 453.4 kB / 1.47 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5247, allocations: 0.7102 MB / 1.471 GB, free: 13.53 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/0.5247, allocations: 0 / 1.471 GB, free: 13.53 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06736/0.5921, allocations: 29.2 MB / 1.499 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.85, allocations: 7.969 kB / 1.499 GB, free: 0.7578 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.64706404414028]