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.002012/0.002012, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002003/0.002003, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.848/2.848, allocations: 476.7 MB / 0.7678 GB, free: 9.48 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_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.002093/0.002093, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9499/0.952, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01728/0.9692, allocations: 11.28 MB / 1.29 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.9816, allocations: 5.889 MB / 1.296 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.984, allocations: 73.69 kB / 1.296 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005337/0.9894, allocations: 1.749 MB / 1.298 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.9941, allocations: 1.188 MB / 1.299 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.9972, allocations: 0.7998 MB / 1.299 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004397/1.002, allocations: 2.123 MB / 1.302 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002536/1.004, allocations: 1.035 MB / 1.303 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/1.006, allocations: 0.8777 MB / 1.303 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/1.009, allocations: 0.9682 MB / 1.304 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007008/1.01, allocations: 114.1 kB / 1.304 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/1.014, allocations: 1.202 MB / 1.306 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/1.015, allocations: 0.5384 MB / 1.306 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/1.017, allocations: 0.7861 MB / 1.307 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006567/1.024, allocations: 2.436 MB / 1.309 GB, free: 9.723 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.024, allocations: 0.6562 kB / 1.309 GB, free: 9.723 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.505e-06/1.024, allocations: 1.094 kB / 1.309 GB, free: 9.723 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.892e-05/1.024, allocations: 0 / 1.309 GB, free: 9.723 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.005666/1.03, allocations: 1.922 MB / 1.311 GB, free: 8.445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/1.03, allocations: 9.797 kB / 1.311 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.53e-05/1.03, allocations: 34.92 kB / 1.311 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/1.03, allocations: 215.1 kB / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/1.036, allocations: 0.6769 MB / 1.312 GB, free: 8.172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/1.038, allocations: 1.01 MB / 1.313 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/1.038, allocations: 97.36 kB / 1.313 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.038, allocations: 126.8 kB / 1.313 GB, free: 7.516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/1.043, allocations: 2.208 MB / 1.315 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.339e-05/1.043, allocations: 14.41 kB / 1.315 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.043, allocations: 61.84 kB / 1.316 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/1.043, allocations: 162.3 kB / 1.316 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/1.047, allocations: 1.869 MB / 1.317 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/1.063, allocations: 12.46 MB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/1.068, allocations: 1.873 MB / 1.331 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.069, allocations: 0.5603 MB / 1.332 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/1.069, allocations: 109 kB / 1.332 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/1.069, allocations: 47.67 kB / 1.332 GB, free: 8.805 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/1.069, allocations: 0 / 1.332 GB, free: 8.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.007426/1.077, allocations: 3.735 MB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/1.077, allocations: 62.59 kB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.078, allocations: 0.919 MB / 1.337 GB, free: 5.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/1.078, allocations: 41.02 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/1.079, allocations: 0.7557 MB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/1.079, allocations: 407 kB / 1.338 GB, free: 4.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/1.08, allocations: 289.6 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.08, allocations: 302 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.081, allocations: 0.6126 MB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.082, allocations: 1.104 MB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/1.085, allocations: 1.83 MB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.085, allocations: 4.656 kB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003895/1.089, allocations: 2.105 MB / 1.344 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.089, allocations: 11.59 kB / 1.344 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.089, allocations: 15.88 kB / 1.344 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009072/1.09, allocations: 259.9 kB / 1.344 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.091, allocations: 374.7 kB / 1.345 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/1.101, allocations: 11.59 MB / 1.356 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.103, allocations: 124.6 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.103, allocations: 75.2 kB / 1.356 GB, free: 4.441 MB / 1.045 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.000802/1.104, allocations: 404.3 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.104, allocations: 136.8 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/1.107, allocations: 1.668 MB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.107, allocations: 11.59 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.107, allocations: 5.844 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.107, allocations: 9.281 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/1.113, allocations: 3.284 MB / 1.362 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/1.113, allocations: 9.719 kB / 1.362 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/1.114, allocations: 222.3 kB / 1.362 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/1.115, allocations: 246.6 kB / 1.362 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.115, allocations: 28 kB / 1.362 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009889/1.125, allocations: 11.57 MB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/1.125, allocations: 13.97 kB / 1.373 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/1.128, allocations: 1.802 MB / 1.375 GB, free: 3.836 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.129, allocations: 316.1 kB / 1.375 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.129, allocations: 31.86 kB / 1.375 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/1.13, allocations: 89.7 kB / 1.376 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.13, allocations: 105.8 kB / 1.376 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/1.13, allocations: 34.56 kB / 1.376 GB, free: 3.453 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009941/1.131, allocations: 0.62 MB / 1.376 GB, free: 3.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.131, allocations: 0 / 1.376 GB, free: 3.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001948/1.133, allocations: 393.4 kB / 1.377 GB, free: 3.055 MB / 1.061 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.003618/1.137, allocations: 2.387 MB / 1.379 GB, free: 1.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004238/1.141, allocations: 2.41 MB / 1.381 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.141, allocations: 0 / 1.381 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/1.144, allocations: 1.579 MB / 1.383 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.146, allocations: 369 kB / 1.383 GB, free: 12.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.167, allocations: 11.53 MB / 1.394 GB, free: 444 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.169, allocations: 1.327 MB / 1.396 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001248/1.17, allocations: 359.3 kB / 1.396 GB, free: 14.72 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008435/1.171, allocations: 0.5344 MB / 1.397 GB, free: 14.18 MB / 1.092 GB Notification: Performance of SimCode: time 1.674e-06/1.171, allocations: 4 kB / 1.397 GB, free: 14.18 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08426/1.255, allocations: 28.61 MB / 1.425 GB, free: 2.012 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.8, allocations: 19.27 kB / 1.425 GB, free: 2 MB / 1.107 GB " [Timeout remaining time 286] (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.581092661013827]