Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001557/0.001557, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001902/0.001902, allocations: 216 kB / 22.26 MB, free: 5.113 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_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.001906/0.001906, allocations: 61.91 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3301, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02034/0.3505, allocations: 16.8 MB / 1.342 GB, free: 1.105 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008561/0.359, allocations: 5.011 MB / 1.347 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000962/0.36, allocations: 87.38 kB / 1.347 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.3628, allocations: 1.093 MB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3644, allocations: 0.7815 MB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.3666, allocations: 0.9505 MB / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003872/0.3705, allocations: 3.622 MB / 1.354 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.3737, allocations: 2.454 MB / 1.356 GB, free: 3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3759, allocations: 1.617 MB / 1.358 GB, free: 1.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.3785, allocations: 1.885 MB / 1.359 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.3789, allocations: 340 kB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.3803, allocations: 0.8075 MB / 1.361 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.3816, allocations: 1.368 MB / 1.362 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3831, allocations: 1.455 MB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.3882, allocations: 5.148 MB / 1.368 GB, free: 6.352 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3882, allocations: 0 / 1.368 GB, free: 6.352 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3882, allocations: 0 / 1.368 GB, free: 6.352 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.774e-05/0.3883, allocations: 4 kB / 1.368 GB, free: 6.348 MB / 1.061 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.004862/0.3931, allocations: 2.638 MB / 1.371 GB, free: 3.664 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3932, allocations: 16.02 kB / 1.371 GB, free: 3.648 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004546/0.3936, allocations: 370.5 kB / 1.371 GB, free: 3.277 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/0.3974, allocations: 0.842 MB / 1.372 GB, free: 2.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.4005, allocations: 1.535 MB / 1.374 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.4007, allocations: 177.1 kB / 1.374 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.401, allocations: 228.4 kB / 1.374 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006473/0.4075, allocations: 4.169 MB / 1.378 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.4076, allocations: 3.938 kB / 1.378 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.4078, allocations: 104 kB / 1.378 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.408, allocations: 164.5 kB / 1.378 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/0.4137, allocations: 3.636 MB / 1.382 GB, free: 8.234 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.432, allocations: 15.62 MB / 1.397 GB, free: 7.34 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.435, allocations: 1.485 MB / 1.399 GB, free: 5.832 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.4359, allocations: 0.547 MB / 1.399 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.436, allocations: 24.62 kB / 1.399 GB, free: 5.254 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.436, allocations: 43.16 kB / 1.399 GB, free: 5.199 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.436, allocations: 0 / 1.399 GB, free: 5.199 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.005529/0.4416, allocations: 3.205 MB / 1.402 GB, free: 1.973 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.4416, allocations: 115.5 kB / 1.402 GB, free: 1.836 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.443, allocations: 1.018 MB / 1.403 GB, free: 0.793 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.443, allocations: 37.7 kB / 1.403 GB, free: 0.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.4438, allocations: 1.138 MB / 1.405 GB, free: 15.6 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.4441, allocations: 285.6 kB / 1.405 GB, free: 15.32 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/0.4444, allocations: 291.4 kB / 1.405 GB, free: 15.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.4447, allocations: 410.7 kB / 1.405 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/0.4456, allocations: 0.6167 MB / 1.406 GB, free: 14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.447, allocations: 1.189 MB / 1.407 GB, free: 12.55 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.4494, allocations: 1.861 MB / 1.409 GB, free: 10.42 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.4494, allocations: 8 kB / 1.409 GB, free: 10.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003284/0.4527, allocations: 2.015 MB / 1.411 GB, free: 8.375 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4528, allocations: 15.98 kB / 1.411 GB, free: 8.359 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.4528, allocations: 20 kB / 1.411 GB, free: 8.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.4532, allocations: 163.3 kB / 1.411 GB, free: 8.168 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4544, allocations: 339.4 kB / 1.412 GB, free: 7.836 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-05/0.4544, allocations: 40.05 kB / 1.412 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/0.4554, allocations: 135.7 kB / 1.412 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4555, allocations: 64 kB / 1.412 GB, free: 7.602 MB / 1.107 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.001464/0.4569, allocations: 0.9828 MB / 1.413 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.4572, allocations: 115.4 kB / 1.413 GB, free: 6.496 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.4593, allocations: 1.234 MB / 1.414 GB, free: 5.242 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4593, allocations: 11.98 kB / 1.414 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4593, allocations: 0 / 1.414 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4593, allocations: 7.984 kB / 1.414 GB, free: 5.223 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.4657, allocations: 3.772 MB / 1.418 GB, free: 1.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4657, allocations: 7.875 kB / 1.418 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.4663, allocations: 159.8 kB / 1.418 GB, free: 1.148 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.4667, allocations: 135.3 kB / 1.418 GB, free: 1.004 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.4667, allocations: 20 kB / 1.418 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.4667, allocations: 7.938 kB / 1.418 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4667, allocations: 12 kB / 1.418 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.4688, allocations: 1.466 MB / 1.419 GB, free: 15.44 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.4693, allocations: 207.1 kB / 1.42 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.4695, allocations: 20 kB / 1.42 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.4701, allocations: 63.91 kB / 1.42 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.4703, allocations: 64.48 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.4703, allocations: 20 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000996/0.4713, allocations: 0.6953 MB / 1.421 GB, free: 14.37 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4713, allocations: 0 / 1.421 GB, free: 14.37 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001383/0.4727, allocations: 388 kB / 1.421 GB, free: 13.99 MB / 1.123 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.002605/0.4753, allocations: 2.041 MB / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.4777, allocations: 1.36 MB / 1.424 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4777, allocations: 4.062 kB / 1.424 GB, free: 10.51 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.4786, allocations: 0.5261 MB / 1.425 GB, free: 9.969 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.48, allocations: 272.1 kB / 1.425 GB, free: 9.707 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.5014, allocations: 12.93 MB / 1.438 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.5035, allocations: 1.912 MB / 1.439 GB, free: 10.11 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00107/0.5046, allocations: 457.4 kB / 1.44 GB, free: 9.656 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.5055, allocations: 0.7102 MB / 1.441 GB, free: 8.945 MB / 1.139 GB Notification: Performance of SimCode: time 8.11e-07/0.5055, allocations: 0 / 1.441 GB, free: 8.945 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/0.5733, allocations: 29.16 MB / 1.469 GB, free: 12.09 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.77, allocations: 7.875 kB / 1.469 GB, free: 12.09 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.544199356110767]