Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001065/0.001065, allocations: 111.7 kB / 16.43 MB, free: 6.496 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.001202/0.001202, allocations: 183.8 kB / 17.35 MB, free: 5.754 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.566e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002832/0.002869, allocations: 1.435 MB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.003632, allocations: 403.1 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.003691, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.003725, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.003784, allocations: 3.938 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.003998, allocations: 11.92 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.648e-05/0.004103, allocations: 31.91 kB / 0.9533 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004216, allocations: 8 kB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004327, allocations: 11.92 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.004385, allocations: 8 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.004408, allocations: 4 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.004421, allocations: 0 / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of combineBinaries: time 7.819e-05/0.004503, allocations: 43.52 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.651e-05/0.004525, allocations: 31.55 kB / 0.9534 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.477e-05/0.004544, allocations: 0 / 0.9534 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.771e-05/0.004568, allocations: 4 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0003492/0.004922, allocations: 241.6 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 8.062e-05/0.005009, allocations: 19.89 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of Early Inline: time 9.394e-05/0.005109, allocations: 84.33 kB / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of simplify1: time 1.861e-05/0.005137, allocations: 7.938 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of Alias: time 0.000363/0.005504, allocations: 152.8 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of simplify2: time 8.316e-06/0.005525, allocations: 8 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of Detect States: time 6.35e-05/0.005594, allocations: 38.27 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of Events: time 5.43e-05/0.005655, allocations: 11.98 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.719e-05/0.005708, allocations: 28.11 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001106/0.005825, allocations: 60.09 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 7.194e-05/0.005904, allocations: 84.28 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001096/0.00602, allocations: 116.4 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.205e-05/0.006038, allocations: 8.125 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.395e-05/0.006056, allocations: 8 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001121/0.006172, allocations: 72.3 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of Tearing: time 1.395e-05/0.006194, allocations: 4 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of Initialization: time 3.71e-07/0.006198, allocations: 0 / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of Tearing: time 2.775e-06/0.006205, allocations: 3.984 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of Categorize: time 9.478e-06/0.006219, allocations: 3.984 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Solve: time 6.669e-05/0.006289, allocations: 19.98 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of Jacobian: time 5.38e-06/0.0063, allocations: 0 / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.621e-05/0.006343, allocations: 27.94 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005679/0.006916, allocations: 0.7981 MB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of Templates: time 0.002528/0.009454, allocations: 348.8 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches