Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001631/0.001631, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002083/0.002083, allocations: 221.2 kB / 23.04 MB, free: 5.074 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.115/3.115, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.00191/0.00191, allocations: 69.98 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01426/0.3495, allocations: 11.62 MB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009626/0.3591, allocations: 6.034 MB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008447/0.3599, allocations: 71.31 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004396/0.3643, allocations: 1.794 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.3672, allocations: 1.186 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.3693, allocations: 0.823 MB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.3722, allocations: 2.127 MB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.3735, allocations: 1.03 MB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3747, allocations: 0.8719 MB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.376, allocations: 0.9649 MB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.3762, allocations: 112 kB / 1.371 GB, free: 5.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3784, allocations: 1.208 MB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.3789, allocations: 0.5413 MB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.3797, allocations: 0.7888 MB / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.3827, allocations: 2.432 MB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3827, allocations: 4 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3827, allocations: 0 / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.617e-05/0.3827, allocations: 0 / 1.376 GB, free: 0.7812 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003417/0.3861, allocations: 1.852 MB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3862, allocations: 8.031 kB / 1.378 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.515e-05/0.3862, allocations: 34.73 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.3865, allocations: 215.4 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.3909, allocations: 0.6709 MB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.3927, allocations: 0.9213 MB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.3927, allocations: 94.89 kB / 1.38 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.3929, allocations: 124.3 kB / 1.38 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.3962, allocations: 2.207 MB / 1.382 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.3962, allocations: 19.83 kB / 1.382 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3963, allocations: 63.92 kB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.3966, allocations: 158.3 kB / 1.382 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.3995, allocations: 1.871 MB / 1.384 GB, free: 8.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.4119, allocations: 11.75 MB / 1.396 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.4162, allocations: 1.882 MB / 1.398 GB, free: 9.809 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.417, allocations: 0.5542 MB / 1.398 GB, free: 9.254 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.4172, allocations: 20.98 kB / 1.398 GB, free: 9.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.4172, allocations: 47.5 kB / 1.398 GB, free: 9.176 MB / 1.092 GB Notification: Performance of pre-optimization done (n=103): time 2.765e-06/0.4172, allocations: 0 / 1.398 GB, free: 9.176 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.006112/0.4233, allocations: 3.126 MB / 1.401 GB, free: 6.035 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.4234, allocations: 64.41 kB / 1.401 GB, free: 5.961 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4246, allocations: 0.9322 MB / 1.402 GB, free: 5.012 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.4247, allocations: 41.7 kB / 1.402 GB, free: 4.965 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.4252, allocations: 0.7494 MB / 1.403 GB, free: 4.207 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.4256, allocations: 404.6 kB / 1.403 GB, free: 3.809 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.426, allocations: 291.4 kB / 1.404 GB, free: 3.516 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4262, allocations: 301.1 kB / 1.404 GB, free: 3.219 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009232/0.4271, allocations: 0.6129 MB / 1.404 GB, free: 2.605 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.4285, allocations: 1.109 MB / 1.406 GB, free: 1.277 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.4309, allocations: 1.828 MB / 1.407 GB, free: 15.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4309, allocations: 4 kB / 1.407 GB, free: 15.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003557/0.4344, allocations: 2.104 MB / 1.409 GB, free: 13.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.4345, allocations: 12 kB / 1.409 GB, free: 13.08 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4345, allocations: 16 kB / 1.409 GB, free: 13.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008295/0.4353, allocations: 263.3 kB / 1.41 GB, free: 12.78 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4366, allocations: 367.4 kB / 1.41 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009225/0.4458, allocations: 10.78 MB / 1.421 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4473, allocations: 131.8 kB / 1.421 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.4475, allocations: 71.98 kB / 1.421 GB, free: 0.5312 MB / 1.107 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.000745/0.4482, allocations: 405.3 kB / 1.421 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.4485, allocations: 135.2 kB / 1.421 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.4515, allocations: 1.673 MB / 1.423 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4515, allocations: 12 kB / 1.423 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4515, allocations: 4 kB / 1.423 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4515, allocations: 7.969 kB / 1.423 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/0.457, allocations: 3.263 MB / 1.426 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.457, allocations: 4 kB / 1.426 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.4578, allocations: 219.6 kB / 1.426 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007331/0.4586, allocations: 246.9 kB / 1.427 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.4587, allocations: 27.98 kB / 1.427 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009174/0.4678, allocations: 10.75 MB / 1.437 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.4678, allocations: 7.938 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.4708, allocations: 1.808 MB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.4714, allocations: 231 kB / 1.439 GB, free: 12.53 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.4715, allocations: 27.98 kB / 1.439 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.4722, allocations: 95.81 kB / 1.439 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.4725, allocations: 104.6 kB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.4725, allocations: 36 kB / 1.439 GB, free: 12.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007993/0.4733, allocations: 0.6177 MB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4733, allocations: 4 kB / 1.44 GB, free: 11.64 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00133/0.4747, allocations: 396 kB / 1.44 GB, free: 11.25 MB / 1.139 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.003124/0.4778, allocations: 2.387 MB / 1.443 GB, free: 8.746 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.4813, allocations: 2.399 MB / 1.445 GB, free: 6.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4813, allocations: 0 / 1.445 GB, free: 6.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.4835, allocations: 1.594 MB / 1.447 GB, free: 4.555 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.485, allocations: 357.1 kB / 1.447 GB, free: 4.211 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.5014, allocations: 11.54 MB / 1.458 GB, free: 7.918 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.5025, allocations: 1.327 MB / 1.459 GB, free: 6.555 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009998/0.5035, allocations: 363.3 kB / 1.46 GB, free: 6.195 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007152/0.5042, allocations: 0.5383 MB / 1.46 GB, free: 5.656 MB / 1.154 GB Notification: Performance of SimCode: time 9.72e-07/0.5042, allocations: 0 / 1.46 GB, free: 5.656 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08144/0.5856, allocations: 29.7 MB / 1.489 GB, free: 8.328 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.07, allocations: 14.91 kB / 1.489 GB, free: 8.32 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.085292604984716]