Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.001383/0.001383, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001638/0.001638, allocations: 215.4 kB / 22.24 MB, free: 5.258 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.773 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.269/3.269, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.002146/0.002146, allocations: 75.47 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002886/0.3492, allocations: 1.451 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.3501, allocations: 424 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.3501, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.3502, allocations: 7.922 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.3502, allocations: 7.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3504, allocations: 19.97 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.3505, allocations: 35.86 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.3506, allocations: 7.938 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3507, allocations: 15.98 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.3508, allocations: 11.94 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3508, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.3508, allocations: 7.984 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.3508, allocations: 7.922 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.3508, allocations: 11.94 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3509, allocations: 32.12 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.351, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.351, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.351, allocations: 0 / 1.365 GB, free: 12.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004341/0.3514, allocations: 266.2 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3514, allocations: 8.031 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.3515, allocations: 34.73 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3517, allocations: 12.88 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3519, allocations: 122.5 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3519, allocations: 4.375 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3519, allocations: 4.375 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.352, allocations: 45.81 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.352, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3521, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3521, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.3521, allocations: 19.98 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.3525, allocations: 219.9 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.3526, allocations: 30.56 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3526, allocations: 16.92 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3526, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3527, allocations: 42.55 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3527, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.3529, allocations: 61.58 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.353, allocations: 51.41 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.3531, allocations: 105.8 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3531, allocations: 25.7 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3531, allocations: 92.27 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3532, allocations: 11.88 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.3532, allocations: 17.72 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3533, allocations: 314.8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.3534, allocations: 7.984 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.3534, allocations: 12 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.3535, allocations: 24.84 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3535, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.3537, allocations: 57.69 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3537, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3537, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3537, allocations: 3.984 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.3538, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3538, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.3538, allocations: 11.88 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3538, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.17e-05/0.3539, allocations: 117.8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3539, allocations: 11.97 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.354, allocations: 3.625 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.354, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.354, allocations: 3.984 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.354, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3541, allocations: 128.7 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3541, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.3542, allocations: 4 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3542, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3542, allocations: 0 / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3542, allocations: 4 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3542, allocations: 7.984 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3544, allocations: 151.4 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.3544, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3544, allocations: 4 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.966e-05/0.3545, allocations: 4 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3545, allocations: 3.984 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3545, allocations: 4 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.3546, allocations: 83.28 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3546, allocations: 0 / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002178/0.3548, allocations: 8.031 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000521/0.3553, allocations: 0.6889 MB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3555, allocations: 23.98 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3555, allocations: 0 / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.3555, allocations: 11.98 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3557, allocations: 6.5 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.357, allocations: 1.227 MB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.3571, allocations: 63.25 kB / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.3571, allocations: 4 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.3572, allocations: 7.438 kB / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of SimCode: time 6.02e-07/0.3572, allocations: 0 / 1.369 GB, free: 7.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.3839, allocations: 1.728 MB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 7.875 kB / 1.371 GB, free: 5.859 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 18.009634661953896]