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.001653/0.001653, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002086/0.002086, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.949 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.255/3.255, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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.003289/0.003289, allocations: 74.62 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3805, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02132/0.4019, allocations: 16.8 MB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009194/0.4111, allocations: 5.015 MB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4123, allocations: 83.38 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.4153, allocations: 1.087 MB / 1.375 GB, free: 1.344 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.4174, allocations: 0.7738 MB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.4198, allocations: 0.9646 MB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00438/0.4241, allocations: 3.614 MB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.4282, allocations: 2.462 MB / 1.383 GB, free: 9.445 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.4308, allocations: 1.621 MB / 1.385 GB, free: 7.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.4339, allocations: 1.885 MB / 1.386 GB, free: 5.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008149/0.4347, allocations: 340 kB / 1.387 GB, free: 5.598 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.4366, allocations: 0.8114 MB / 1.387 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.4385, allocations: 1.36 MB / 1.389 GB, free: 3.422 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4411, allocations: 1.463 MB / 1.39 GB, free: 1.953 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.4473, allocations: 5.144 MB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4473, allocations: 4 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4473, allocations: 4 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000156/0.4474, allocations: 0 / 1.395 GB, free: 12.79 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.006415/0.4539, allocations: 2.634 MB / 1.398 GB, free: 10.11 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4539, allocations: 8.031 kB / 1.398 GB, free: 10.1 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008007/0.4547, allocations: 378.4 kB / 1.398 GB, free: 9.719 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/0.4588, allocations: 0.8459 MB / 1.399 GB, free: 8.871 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.4623, allocations: 1.527 MB / 1.401 GB, free: 7.312 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4625, allocations: 181.1 kB / 1.401 GB, free: 7.133 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/0.463, allocations: 228.4 kB / 1.401 GB, free: 6.91 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/0.4706, allocations: 4.165 MB / 1.405 GB, free: 2.605 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.597e-05/0.4706, allocations: 7.938 kB / 1.405 GB, free: 2.598 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.471, allocations: 99.97 kB / 1.405 GB, free: 2.5 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/0.4712, allocations: 164.5 kB / 1.405 GB, free: 2.336 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006583/0.4777, allocations: 3.64 MB / 1.409 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.4984, allocations: 15.62 MB / 1.424 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.5014, allocations: 1.486 MB / 1.425 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/0.5022, allocations: 0.5392 MB / 1.426 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.5024, allocations: 24.64 kB / 1.426 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5024, allocations: 47.16 kB / 1.426 GB, free: 11.65 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 2.504e-06/0.5024, allocations: 0 / 1.426 GB, free: 11.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.005737/0.5081, allocations: 3.205 MB / 1.429 GB, free: 8.422 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.5082, allocations: 115.5 kB / 1.429 GB, free: 8.281 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5096, allocations: 1.018 MB / 1.43 GB, free: 7.238 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.5097, allocations: 37.7 kB / 1.43 GB, free: 7.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000814/0.5105, allocations: 1.142 MB / 1.431 GB, free: 6.039 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.5107, allocations: 289.6 kB / 1.432 GB, free: 5.754 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.5111, allocations: 279.4 kB / 1.432 GB, free: 5.473 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.5114, allocations: 414.7 kB / 1.432 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.5124, allocations: 0.6167 MB / 1.433 GB, free: 4.441 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.5138, allocations: 1.189 MB / 1.434 GB, free: 2.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.5162, allocations: 1.868 MB / 1.436 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.5162, allocations: 12 kB / 1.436 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003371/0.5196, allocations: 2.011 MB / 1.438 GB, free: 14.81 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5196, allocations: 12.66 kB / 1.438 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.5197, allocations: 20 kB / 1.438 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.5201, allocations: 167.3 kB / 1.438 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.5213, allocations: 347.4 kB / 1.439 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-05/0.5213, allocations: 39.86 kB / 1.439 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/0.5223, allocations: 127.7 kB / 1.439 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.5224, allocations: 71.98 kB / 1.439 GB, free: 14.03 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.001577/0.5239, allocations: 0.9848 MB / 1.44 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5242, allocations: 111.3 kB / 1.44 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5264, allocations: 1.222 MB / 1.441 GB, free: 11.69 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.5264, allocations: 12 kB / 1.441 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5264, allocations: 3.938 kB / 1.441 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5265, allocations: 7.984 kB / 1.441 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/0.5327, allocations: 3.772 MB / 1.445 GB, free: 7.746 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5327, allocations: 4 kB / 1.445 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.5333, allocations: 160 kB / 1.445 GB, free: 7.586 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.5337, allocations: 139.3 kB / 1.445 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.5337, allocations: 23.94 kB / 1.445 GB, free: 7.414 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.5337, allocations: 7.938 kB / 1.445 GB, free: 7.406 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5337, allocations: 7.938 kB / 1.445 GB, free: 7.398 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.5358, allocations: 1.47 MB / 1.446 GB, free: 5.879 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.5363, allocations: 203.1 kB / 1.447 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5365, allocations: 20 kB / 1.447 GB, free: 5.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.5371, allocations: 63.91 kB / 1.447 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.5372, allocations: 68.42 kB / 1.447 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.5373, allocations: 24 kB / 1.447 GB, free: 5.504 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009599/0.5382, allocations: 0.6953 MB / 1.448 GB, free: 4.797 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5382, allocations: 0 / 1.448 GB, free: 4.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001386/0.5396, allocations: 384 kB / 1.448 GB, free: 4.422 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.002421/0.542, allocations: 2.041 MB / 1.45 GB, free: 2.312 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.5443, allocations: 1.367 MB / 1.451 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5443, allocations: 0 / 1.451 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.5452, allocations: 0.531 MB / 1.452 GB, free: 404 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.5466, allocations: 269.4 kB / 1.452 GB, free: 136 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.5664, allocations: 12.92 MB / 1.465 GB, free: 2.477 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.5686, allocations: 1.92 MB / 1.466 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5697, allocations: 449.4 kB / 1.467 GB, free: 84 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000999/0.5707, allocations: 0.7141 MB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of SimCode: time 9.11e-07/0.5707, allocations: 0 / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06939/0.64, allocations: 29.16 MB / 1.496 GB, free: 2.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.47, allocations: 12.77 kB / 1.496 GB, free: 2.492 MB / 1.186 GB " [Timeout remaining time 286] (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: 20.545042923884466]