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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 108.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 61.19 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01989/0.3242, allocations: 16.27 MB / 1.32 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008654/0.3328, allocations: 4.886 MB / 1.325 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.334, allocations: 63.69 kB / 1.325 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.3369, allocations: 1.061 MB / 1.326 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3389, allocations: 0.7815 MB / 1.326 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.3413, allocations: 0.9183 MB / 1.327 GB, free: 9.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004257/0.3455, allocations: 3.618 MB / 1.331 GB, free: 5.805 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.35, allocations: 3.544 MB / 1.334 GB, free: 2.195 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.3525, allocations: 1.601 MB / 1.336 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.3552, allocations: 1.889 MB / 1.338 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005701/0.3558, allocations: 340 kB / 1.338 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.3574, allocations: 0.8075 MB / 1.339 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.3589, allocations: 1.364 MB / 1.34 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.3608, allocations: 1.451 MB / 1.342 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.3666, allocations: 5.148 MB / 1.347 GB, free: 5.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3666, allocations: 0 / 1.347 GB, free: 5.566 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3666, allocations: 0 / 1.347 GB, free: 5.566 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001107/0.3667, allocations: 0 / 1.347 GB, free: 5.566 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005635/0.3724, allocations: 2.717 MB / 1.349 GB, free: 2.785 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3724, allocations: 12.62 kB / 1.349 GB, free: 2.773 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005437/0.373, allocations: 370.5 kB / 1.35 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.377, allocations: 0.8498 MB / 1.351 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.381, allocations: 1.572 MB / 1.352 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.3811, allocations: 184.9 kB / 1.352 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/0.3816, allocations: 228.4 kB / 1.352 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007267/0.3889, allocations: 4.161 MB / 1.357 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/0.3889, allocations: 7.938 kB / 1.357 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.3892, allocations: 104 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.3894, allocations: 164.5 kB / 1.357 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006019/0.3954, allocations: 3.636 MB / 1.36 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.4159, allocations: 16.44 MB / 1.376 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.4193, allocations: 2.229 MB / 1.379 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008567/0.4202, allocations: 0.5545 MB / 1.379 GB, free: 2.426 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.4203, allocations: 93.66 kB / 1.379 GB, free: 2.316 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4204, allocations: 47.06 kB / 1.379 GB, free: 2.262 MB / 1.076 GB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.4204, allocations: 0 / 1.379 GB, free: 2.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.005629/0.426, allocations: 3.499 MB / 1.383 GB, free: 14.67 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.4261, allocations: 111.5 kB / 1.383 GB, free: 14.53 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.4275, allocations: 1.022 MB / 1.384 GB, free: 13.48 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.4275, allocations: 41.64 kB / 1.384 GB, free: 13.44 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.4284, allocations: 1.15 MB / 1.385 GB, free: 12.27 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.4287, allocations: 285.6 kB / 1.385 GB, free: 11.99 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.4291, allocations: 283.4 kB / 1.385 GB, free: 11.71 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002529/0.4293, allocations: 414.7 kB / 1.386 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009915/0.4303, allocations: 0.6129 MB / 1.386 GB, free: 10.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4318, allocations: 1.185 MB / 1.388 GB, free: 9.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.4342, allocations: 1.86 MB / 1.389 GB, free: 7.102 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.4342, allocations: 4 kB / 1.389 GB, free: 7.098 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003249/0.4374, allocations: 2.023 MB / 1.391 GB, free: 5.055 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.4375, allocations: 12 kB / 1.391 GB, free: 5.043 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4375, allocations: 20 kB / 1.391 GB, free: 5.023 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.4379, allocations: 167.9 kB / 1.392 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.439, allocations: 347.4 kB / 1.392 GB, free: 4.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.566e-05/0.4391, allocations: 39.86 kB / 1.392 GB, free: 4.469 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.44, allocations: 127.8 kB / 1.392 GB, free: 4.344 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4402, allocations: 63.98 kB / 1.392 GB, free: 4.281 MB / 1.092 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.00149/0.4416, allocations: 0.9772 MB / 1.393 GB, free: 3.293 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.4419, allocations: 119.2 kB / 1.393 GB, free: 3.176 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.444, allocations: 1.234 MB / 1.394 GB, free: 1.918 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4441, allocations: 8 kB / 1.394 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4441, allocations: 8 kB / 1.394 GB, free: 1.902 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4441, allocations: 3.984 kB / 1.394 GB, free: 1.898 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/0.4502, allocations: 3.794 MB / 1.398 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4502, allocations: 4 kB / 1.398 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.4508, allocations: 155.8 kB / 1.398 GB, free: 13.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/0.4511, allocations: 143.6 kB / 1.398 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.4512, allocations: 19.94 kB / 1.398 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.4512, allocations: 11.94 kB / 1.398 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4512, allocations: 0 / 1.398 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.4532, allocations: 1.47 MB / 1.4 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.4537, allocations: 276.4 kB / 1.4 GB, free: 11.81 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4539, allocations: 19.95 kB / 1.4 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.4544, allocations: 63.91 kB / 1.4 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4545, allocations: 60.42 kB / 1.4 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.4546, allocations: 20 kB / 1.4 GB, free: 11.65 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009168/0.4555, allocations: 0.703 MB / 1.401 GB, free: 10.93 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4555, allocations: 7.938 kB / 1.401 GB, free: 10.93 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001348/0.4569, allocations: 388 kB / 1.401 GB, free: 10.55 MB / 1.107 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.002388/0.4592, allocations: 2.042 MB / 1.403 GB, free: 8.445 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.4617, allocations: 1.663 MB / 1.405 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4617, allocations: 0 / 1.405 GB, free: 6.695 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4627, allocations: 0.8361 MB / 1.406 GB, free: 5.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4641, allocations: 269.5 kB / 1.406 GB, free: 5.516 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.4838, allocations: 12.92 MB / 1.419 GB, free: 7.871 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/0.486, allocations: 1.916 MB / 1.421 GB, free: 5.922 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001313/0.4874, allocations: 453.4 kB / 1.421 GB, free: 5.477 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.4884, allocations: 0.7102 MB / 1.422 GB, free: 4.766 MB / 1.123 GB Notification: Performance of SimCode: time 2.214e-06/0.4884, allocations: 0 / 1.422 GB, free: 4.766 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06536/0.5538, allocations: 28.03 MB / 1.449 GB, free: 9.066 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12, allocations: 13.8 kB / 1.449 GB, free: 9.059 MB / 1.154 GB " [Timeout remaining time 288] (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_2/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: 18.504994126036763]