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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.28 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002866/0.3444, allocations: 1.428 MB / 1.305 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.3451, allocations: 399 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.3452, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.3452, allocations: 3.938 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.3453, allocations: 3.938 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3454, allocations: 11.98 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.3455, allocations: 27.86 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3456, allocations: 15.98 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.3457, allocations: 11.94 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.3458, allocations: 11.92 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3458, allocations: 0 / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.3458, allocations: 4 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.3458, allocations: 4 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.3459, allocations: 15.92 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.346, allocations: 24.12 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.346, allocations: 0 / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.346, allocations: 0 / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.346, allocations: 0 / 1.306 GB, free: 15.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004713/0.3464, allocations: 343.5 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3465, allocations: 12.62 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.3465, allocations: 34.75 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.3465, allocations: 0.9375 kB / 1.306 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3467, allocations: 176.2 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3467, allocations: 384 / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.3467, allocations: 4.312 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3469, allocations: 53.78 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3469, allocations: 4 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3469, allocations: 0 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3469, allocations: 0 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.347, allocations: 19.98 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3473, allocations: 244.9 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.3474, allocations: 34.5 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.3474, allocations: 20.92 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3475, allocations: 0 / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3475, allocations: 38.55 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3475, allocations: 0 / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002551/0.3477, allocations: 53.69 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3478, allocations: 51.41 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.3479, allocations: 113.9 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3479, allocations: 25.7 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.3479, allocations: 88.09 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.348, allocations: 3.953 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.348, allocations: 21.7 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3481, allocations: 314.8 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.3482, allocations: 15.92 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.3482, allocations: 12 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.3483, allocations: 24.84 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3483, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.3484, allocations: 49.69 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3484, allocations: 4 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3484, allocations: 0 / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3485, allocations: 3.938 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.3485, allocations: 7.984 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3485, allocations: 8.094 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.3486, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.3486, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 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 8.755e-05/0.3487, allocations: 113.8 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3487, allocations: 4 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.3487, allocations: 11.45 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3487, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3487, allocations: 4 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3487, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3489, allocations: 161.9 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3489, allocations: 4 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.349, allocations: 7.984 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.349, allocations: 0 / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.349, allocations: 0 / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.349, allocations: 0 / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.349, allocations: 4 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.3492, allocations: 159.4 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3492, allocations: 81.09 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3492, allocations: 0 / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.3493, allocations: 4 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3493, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3493, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.3494, allocations: 87.27 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3494, allocations: 0 / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002139/0.3496, allocations: 4 kB / 1.308 GB, free: 12.89 MB / 1.014 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.0005635/0.3501, allocations: 0.6851 MB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3503, allocations: 23.92 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3503, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.3503, allocations: 12.09 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3505, allocations: 0 / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.351, allocations: 158.1 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3514, allocations: 0.6806 MB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.3514, allocations: 0 / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3514, allocations: 11.44 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3514, allocations: 3.938 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3766, allocations: 1.221 MB / 1.311 GB, free: 10.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.439, allocations: 14.09 kB / 1.311 GB, free: 10.14 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.023889740929008]