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.001376/0.001376, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001471/0.001471, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.189/3.189, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.00205/0.00205, allocations: 69.09 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01492/0.3777, allocations: 11.28 MB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3883, allocations: 5.879 MB / 1.338 GB, free: 2.051 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.3895, allocations: 71.31 kB / 1.338 GB, free: 1.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0045/0.394, allocations: 1.753 MB / 1.339 GB, free: 232 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.3974, allocations: 1.186 MB / 1.341 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3997, allocations: 0.8135 MB / 1.341 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003253/0.403, allocations: 2.123 MB / 1.343 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.4046, allocations: 1.037 MB / 1.344 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.4062, allocations: 0.8718 MB / 1.345 GB, free: 10.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.4076, allocations: 0.9649 MB / 1.346 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.4078, allocations: 116 kB / 1.346 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.4104, allocations: 1.212 MB / 1.347 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.4111, allocations: 0.5413 MB / 1.348 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008968/0.412, allocations: 0.7849 MB / 1.349 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.4155, allocations: 2.436 MB / 1.351 GB, free: 4.078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4155, allocations: 0 / 1.351 GB, free: 4.078 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4155, allocations: 0 / 1.351 GB, free: 4.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.527e-05/0.4155, allocations: 4 kB / 1.351 GB, free: 4.074 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.003192/0.4187, allocations: 1.927 MB / 1.353 GB, free: 2.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.4188, allocations: 11.98 kB / 1.353 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002613/0.419, allocations: 211.4 kB / 1.353 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.4237, allocations: 0.6748 MB / 1.354 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.4255, allocations: 1.017 MB / 1.355 GB, free: 124 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.4256, allocations: 94.89 kB / 1.355 GB, free: 28 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.4258, allocations: 128.3 kB / 1.355 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.4292, allocations: 2.202 MB / 1.357 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.4292, allocations: 19.81 kB / 1.357 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.4293, allocations: 67.91 kB / 1.357 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.4296, allocations: 158.3 kB / 1.358 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.4326, allocations: 1.871 MB / 1.359 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.4461, allocations: 12.45 MB / 1.371 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.4505, allocations: 1.87 MB / 1.373 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.4514, allocations: 0.5619 MB / 1.374 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.4516, allocations: 106.1 kB / 1.374 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4516, allocations: 55.44 kB / 1.374 GB, free: 11.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 5.019e-06/0.4516, allocations: 3.984 kB / 1.374 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006649/0.4583, allocations: 3.72 MB / 1.378 GB, free: 7.441 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.4583, allocations: 64.41 kB / 1.378 GB, free: 7.363 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4595, allocations: 0.9244 MB / 1.379 GB, free: 6.422 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.4596, allocations: 41.7 kB / 1.379 GB, free: 6.375 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.4602, allocations: 0.7572 MB / 1.379 GB, free: 5.609 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.4606, allocations: 396.7 kB / 1.38 GB, free: 5.219 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.461, allocations: 295.4 kB / 1.38 GB, free: 4.926 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4611, allocations: 301.1 kB / 1.38 GB, free: 4.629 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.4621, allocations: 0.6129 MB / 1.381 GB, free: 4.016 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.4635, allocations: 1.109 MB / 1.382 GB, free: 2.691 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.466, allocations: 1.824 MB / 1.384 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.466, allocations: 8 kB / 1.384 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003865/0.4699, allocations: 2.101 MB / 1.386 GB, free: 14.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.4699, allocations: 21.86 kB / 1.386 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.4699, allocations: 16 kB / 1.386 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/0.4708, allocations: 254.6 kB / 1.386 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.4722, allocations: 375.4 kB / 1.386 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.4826, allocations: 11.59 MB / 1.398 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.484, allocations: 127.8 kB / 1.398 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.4842, allocations: 71.98 kB / 1.398 GB, free: 0.9258 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.0006981/0.4849, allocations: 405.2 kB / 1.398 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.4851, allocations: 135.2 kB / 1.399 GB, free: 396 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.4882, allocations: 1.681 MB / 1.4 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4882, allocations: 12 kB / 1.4 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4882, allocations: 4 kB / 1.4 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4882, allocations: 3.984 kB / 1.4 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/0.4935, allocations: 3.283 MB / 1.403 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4935, allocations: 4 kB / 1.403 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/0.4943, allocations: 224.3 kB / 1.404 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.4951, allocations: 238.7 kB / 1.404 GB, free: 10.74 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.4952, allocations: 39.86 kB / 1.404 GB, free: 10.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009904/0.5051, allocations: 11.57 MB / 1.415 GB, free: 14.01 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.5051, allocations: 11.92 kB / 1.415 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/0.5081, allocations: 1.804 MB / 1.417 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.5087, allocations: 316.1 kB / 1.417 GB, free: 11.76 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.5088, allocations: 31.98 kB / 1.417 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.5096, allocations: 83.88 kB / 1.417 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.5098, allocations: 104.6 kB / 1.417 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.5098, allocations: 39.94 kB / 1.417 GB, free: 11.51 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008499/0.5107, allocations: 0.6177 MB / 1.418 GB, free: 10.88 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5107, allocations: 0 / 1.418 GB, free: 10.88 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001422/0.5121, allocations: 396 kB / 1.418 GB, free: 10.5 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.003175/0.5153, allocations: 2.387 MB / 1.421 GB, free: 7.988 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.5191, allocations: 2.403 MB / 1.423 GB, free: 5.484 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5191, allocations: 0 / 1.423 GB, free: 5.484 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002243/0.5213, allocations: 1.578 MB / 1.425 GB, free: 3.801 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5231, allocations: 364 kB / 1.425 GB, free: 3.457 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.5401, allocations: 11.52 MB / 1.436 GB, free: 7.188 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.5412, allocations: 1.327 MB / 1.438 GB, free: 5.828 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009795/0.5422, allocations: 359.3 kB / 1.438 GB, free: 5.473 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/0.5429, allocations: 0.5344 MB / 1.438 GB, free: 4.941 MB / 1.139 GB Notification: Performance of SimCode: time 1.162e-06/0.5429, allocations: 0 / 1.438 GB, free: 4.941 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08585/0.6288, allocations: 28.58 MB / 1.466 GB, free: 8.777 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.71, allocations: 10.7 kB / 1.466 GB, free: 8.77 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.474679563194513]