Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002001/0.002001, allocations: 109.2 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.001807/0.001807, allocations: 219 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.8 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.002036/0.002036, allocations: 64.36 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2941, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01482/0.3089, allocations: 11.61 MB / 1.295 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009829/0.3187, allocations: 6.023 MB / 1.301 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.3195, allocations: 71.31 kB / 1.301 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.324, allocations: 1.814 MB / 1.302 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.3267, allocations: 1.182 MB / 1.304 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3288, allocations: 0.8219 MB / 1.304 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.3315, allocations: 2.124 MB / 1.306 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3329, allocations: 1.038 MB / 1.307 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.334, allocations: 0.8757 MB / 1.308 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.3353, allocations: 0.9611 MB / 1.309 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.3355, allocations: 112 kB / 1.309 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3377, allocations: 1.208 MB / 1.311 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.3382, allocations: 0.5451 MB / 1.311 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.339, allocations: 0.7811 MB / 1.312 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.3422, allocations: 2.444 MB / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3422, allocations: 0 / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3422, allocations: 0 / 1.314 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.226e-05/0.3422, allocations: 0 / 1.314 GB, free: 11.95 MB / 1.014 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.003027/0.3453, allocations: 1.844 MB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3453, allocations: 8.031 kB / 1.316 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.3456, allocations: 215.4 kB / 1.316 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/0.3499, allocations: 0.6748 MB / 1.317 GB, free: 9.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3517, allocations: 0.9213 MB / 1.318 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.3518, allocations: 94.89 kB / 1.318 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.352, allocations: 124.3 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.3551, allocations: 2.207 MB / 1.32 GB, free: 5.566 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/0.3552, allocations: 19.83 kB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.3553, allocations: 63.97 kB / 1.32 GB, free: 5.484 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.3555, allocations: 162.3 kB / 1.32 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.3585, allocations: 1.863 MB / 1.322 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.3707, allocations: 11.74 MB / 1.334 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.375, allocations: 1.882 MB / 1.336 GB, free: 5.027 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/0.3759, allocations: 0.558 MB / 1.336 GB, free: 4.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.376, allocations: 28.86 kB / 1.336 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3761, allocations: 51.48 kB / 1.336 GB, free: 4.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/0.3761, allocations: 0 / 1.336 GB, free: 4.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.005881/0.3819, allocations: 3.122 MB / 1.339 GB, free: 1.242 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.382, allocations: 64.41 kB / 1.339 GB, free: 1.164 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3831, allocations: 0.9244 MB / 1.34 GB, free: 228 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.3832, allocations: 41.7 kB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.3837, allocations: 0.7533 MB / 1.341 GB, free: 15.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.3841, allocations: 400.6 kB / 1.341 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.3845, allocations: 291.4 kB / 1.342 GB, free: 14.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3846, allocations: 301.1 kB / 1.342 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/0.3856, allocations: 0.6129 MB / 1.343 GB, free: 13.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.3869, allocations: 1.106 MB / 1.344 GB, free: 12.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.3893, allocations: 1.835 MB / 1.345 GB, free: 10.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3893, allocations: 4 kB / 1.345 GB, free: 10.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003483/0.3928, allocations: 2.096 MB / 1.347 GB, free: 8.312 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3928, allocations: 12 kB / 1.347 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.3928, allocations: 16 kB / 1.347 GB, free: 8.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.3937, allocations: 263.4 kB / 1.348 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.3949, allocations: 371.4 kB / 1.348 GB, free: 7.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/0.4042, allocations: 10.76 MB / 1.359 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4054, allocations: 131.8 kB / 1.359 GB, free: 11.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4055, allocations: 67.98 kB / 1.359 GB, free: 11.77 MB / 1.061 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.0007009/0.4062, allocations: 409.3 kB / 1.359 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.4064, allocations: 135.2 kB / 1.359 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.4094, allocations: 1.685 MB / 1.361 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4095, allocations: 12 kB / 1.361 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4095, allocations: 4 kB / 1.361 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4095, allocations: 7.922 kB / 1.361 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.4148, allocations: 3.256 MB / 1.364 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4148, allocations: 4 kB / 1.364 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.4157, allocations: 219.6 kB / 1.364 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/0.4164, allocations: 250.9 kB / 1.365 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.4165, allocations: 27.94 kB / 1.365 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009082/0.4256, allocations: 10.76 MB / 1.375 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.4256, allocations: 4 kB / 1.375 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.4284, allocations: 1.808 MB / 1.377 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.429, allocations: 238.9 kB / 1.377 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.4292, allocations: 28 kB / 1.377 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.4299, allocations: 87.88 kB / 1.377 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4301, allocations: 104.6 kB / 1.377 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.4302, allocations: 43.94 kB / 1.377 GB, free: 7.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008017/0.431, allocations: 0.6177 MB / 1.378 GB, free: 6.855 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.431, allocations: 4 kB / 1.378 GB, free: 6.852 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001315/0.4323, allocations: 392 kB / 1.378 GB, free: 6.469 MB / 1.076 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.003083/0.4354, allocations: 2.391 MB / 1.381 GB, free: 3.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003666/0.439, allocations: 2.395 MB / 1.383 GB, free: 1.461 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.439, allocations: 4 kB / 1.383 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.4413, allocations: 1.587 MB / 1.385 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.443, allocations: 356.7 kB / 1.385 GB, free: 15.43 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.4598, allocations: 11.54 MB / 1.396 GB, free: 3.152 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.4608, allocations: 1.331 MB / 1.397 GB, free: 1.789 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009589/0.4618, allocations: 359.3 kB / 1.398 GB, free: 1.434 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.4625, allocations: 0.5383 MB / 1.398 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of SimCode: time 8.01e-07/0.4625, allocations: 0 / 1.398 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08789/0.5504, allocations: 29.69 MB / 1.427 GB, free: 3.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.15, allocations: 4.062 kB / 1.427 GB, free: 3.586 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.62661549495533]