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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 109.3 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 72.03 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.9866, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002922/0.9895, allocations: 1.417 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.9903, allocations: 399.1 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.9904, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.9905, allocations: 7.922 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.9905, allocations: 3.938 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.9907, allocations: 8 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.9908, allocations: 23.91 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.9909, allocations: 15.98 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.991, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.9911, allocations: 15.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.9911, allocations: 7.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-06/0.9911, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.9911, allocations: 3.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.9912, allocations: 11.94 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.843e-05/0.9913, allocations: 19.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9913, allocations: 3.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9913, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.9913, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 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.0004349/0.9917, allocations: 331.3 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9918, allocations: 12.03 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.9918, allocations: 4.922 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.992, allocations: 172.2 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.992, allocations: 384 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.992, allocations: 4.375 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.9922, allocations: 42 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.9922, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.9922, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9922, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.9923, allocations: 23.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.9928, allocations: 248.9 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.9929, allocations: 26.58 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.9929, allocations: 24.91 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.993, allocations: 4 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.993, allocations: 30.56 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.993, allocations: 3.938 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.9932, allocations: 61.67 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.9933, allocations: 51.41 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.9934, allocations: 110 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.9934, allocations: 25.7 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.9934, allocations: 80.14 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.9935, allocations: 13.73 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.9935, allocations: 13.72 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9936, allocations: 314.8 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.9937, allocations: 12 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.9937, allocations: 8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.9938, allocations: 28.78 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9938, allocations: 4.188 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001198/0.9939, allocations: 57.58 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9939, allocations: 4 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9939, allocations: 4 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.994, allocations: 4 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.9941, allocations: 12.03 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9941, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.9941, allocations: 3.984 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.9941, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 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 0.0001085/0.9943, allocations: 117.8 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.9943, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.9943, allocations: 3.531 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9943, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9943, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.9944, allocations: 85.09 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.9944, allocations: 3.984 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.9945, allocations: 11.94 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.9946, allocations: 7.875 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001897/0.9948, allocations: 129 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002532/0.995, allocations: 222.8 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.687e-05/0.9951, allocations: 15.92 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.9951, allocations: 83.28 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of Backend: time 4.81e-07/0.9952, allocations: 4 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.9956, allocations: 82.39 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008155/0.9964, allocations: 0.5737 MB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of Templates: time 0.0031/0.9995, allocations: 421.6 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (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 & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) 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) Reference file matches