Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001597/0.001597, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002127/0.002127, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.068/3.068, allocations: 0.49 GB / 0.7959 GB, free: 33.28 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",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.001907/0.001907, allocations: 73.47 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01412/0.3346, allocations: 11.61 MB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009435/0.344, allocations: 6.023 MB / 1.344 GB, free: 240 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3453, allocations: 71.31 kB / 1.344 GB, free: 168 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00438/0.3497, allocations: 1.805 MB / 1.346 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.3527, allocations: 1.182 MB / 1.347 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.3548, allocations: 0.8255 MB / 1.348 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.3574, allocations: 2.124 MB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.3588, allocations: 1.033 MB / 1.351 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.3603, allocations: 0.8796 MB / 1.352 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3617, allocations: 0.9572 MB / 1.353 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3619, allocations: 112 kB / 1.353 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.3641, allocations: 1.212 MB / 1.354 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.3646, allocations: 0.5413 MB / 1.354 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008112/0.3654, allocations: 0.7888 MB / 1.355 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.3686, allocations: 2.436 MB / 1.358 GB, free: 2.199 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3686, allocations: 0 / 1.358 GB, free: 2.199 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3686, allocations: 0 / 1.358 GB, free: 2.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.518e-05/0.3686, allocations: 0 / 1.358 GB, free: 2.199 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002944/0.3716, allocations: 1.852 MB / 1.359 GB, free: 312 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3716, allocations: 8.031 kB / 1.359 GB, free: 304 kB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.999e-05/0.3717, allocations: 34.73 kB / 1.359 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.3719, allocations: 207.5 kB / 1.36 GB, free: 48 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004329/0.3762, allocations: 0.6787 MB / 1.36 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3779, allocations: 0.9174 MB / 1.361 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.802e-05/0.378, allocations: 98.89 kB / 1.361 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.3782, allocations: 124.3 kB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.3813, allocations: 2.21 MB / 1.363 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.3813, allocations: 11.89 kB / 1.364 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.3814, allocations: 63.97 kB / 1.364 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.3816, allocations: 166.2 kB / 1.364 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.3845, allocations: 1.871 MB / 1.366 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.3965, allocations: 11.74 MB / 1.377 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.4007, allocations: 1.866 MB / 1.379 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.4015, allocations: 0.558 MB / 1.379 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.4016, allocations: 28.97 kB / 1.379 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.4017, allocations: 47.5 kB / 1.379 GB, free: 10.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.826e-06/0.4017, allocations: 7.938 kB / 1.379 GB, free: 10.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.005727/0.4074, allocations: 3.122 MB / 1.383 GB, free: 7.453 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.4074, allocations: 68.34 kB / 1.383 GB, free: 7.375 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4085, allocations: 0.9128 MB / 1.383 GB, free: 6.445 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.4086, allocations: 45.7 kB / 1.384 GB, free: 6.395 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.4091, allocations: 0.7572 MB / 1.384 GB, free: 5.629 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.4094, allocations: 396.6 kB / 1.385 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.4098, allocations: 295.4 kB / 1.385 GB, free: 4.945 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4099, allocations: 305.1 kB / 1.385 GB, free: 4.645 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/0.4109, allocations: 0.6168 MB / 1.386 GB, free: 4.027 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4122, allocations: 1.109 MB / 1.387 GB, free: 2.703 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.4145, allocations: 1.828 MB / 1.389 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4145, allocations: 4 kB / 1.389 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003476/0.418, allocations: 2.1 MB / 1.391 GB, free: 14.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.418, allocations: 13 kB / 1.391 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4181, allocations: 16 kB / 1.391 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007907/0.4188, allocations: 262.6 kB / 1.391 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.4201, allocations: 375.4 kB / 1.391 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/0.4291, allocations: 10.77 MB / 1.402 GB, free: 2.156 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4304, allocations: 131.8 kB / 1.402 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.4305, allocations: 76.14 kB / 1.402 GB, free: 1.953 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006373/0.4312, allocations: 403 kB / 1.402 GB, free: 1.551 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.4314, allocations: 139.2 kB / 1.403 GB, free: 1.414 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.4343, allocations: 1.677 MB / 1.404 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.4343, allocations: 12 kB / 1.404 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4343, allocations: 4 kB / 1.404 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4343, allocations: 7.969 kB / 1.404 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.4394, allocations: 3.255 MB / 1.407 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.4394, allocations: 4 kB / 1.407 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.4402, allocations: 223.6 kB / 1.408 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/0.4409, allocations: 247.1 kB / 1.408 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/0.441, allocations: 31.98 kB / 1.408 GB, free: 11.76 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008767/0.4498, allocations: 10.75 MB / 1.418 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4498, allocations: 4 kB / 1.418 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.4526, allocations: 1.808 MB / 1.42 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.4532, allocations: 235 kB / 1.42 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.4533, allocations: 31.98 kB / 1.42 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.454, allocations: 91.88 kB / 1.421 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.4542, allocations: 100.7 kB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.4543, allocations: 40 kB / 1.421 GB, free: 13.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007644/0.4551, allocations: 0.6177 MB / 1.421 GB, free: 13.05 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4551, allocations: 0 / 1.421 GB, free: 13.05 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001268/0.4563, allocations: 388 kB / 1.422 GB, free: 12.68 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002991/0.4593, allocations: 2.396 MB / 1.424 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.4628, allocations: 2.403 MB / 1.426 GB, free: 7.66 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.4628, allocations: 0 / 1.426 GB, free: 7.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.4648, allocations: 1.586 MB / 1.428 GB, free: 5.969 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.4664, allocations: 361.1 kB / 1.428 GB, free: 5.629 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.4822, allocations: 11.55 MB / 1.44 GB, free: 9.324 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.4832, allocations: 1.327 MB / 1.441 GB, free: 7.961 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009603/0.4842, allocations: 363.3 kB / 1.441 GB, free: 7.602 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.4849, allocations: 0.5344 MB / 1.442 GB, free: 7.07 MB / 1.139 GB Notification: Performance of SimCode: time 9.12e-07/0.4849, allocations: 0 / 1.442 GB, free: 7.07 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07865/0.5635, allocations: 29.72 MB / 1.471 GB, free: 9.746 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.79, allocations: 10.97 kB / 1.471 GB, free: 9.738 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.62278781499481]