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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.394/2.394, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6438, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002293/0.6461, allocations: 1.402 MB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.6466, allocations: 405.5 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.6467, allocations: 1.25 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.6467, allocations: 3.938 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.6468, allocations: 5.484 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.6469, allocations: 9.156 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.647, allocations: 25.48 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.6471, allocations: 8.125 kB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.6471, allocations: 21.47 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.6472, allocations: 10.69 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.6472, allocations: 1.375 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.6472, allocations: 2.75 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.6472, allocations: 7.922 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.6473, allocations: 10.69 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.687e-05/0.6474, allocations: 17 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6474, allocations: 1.188 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6474, allocations: 0 / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6474, allocations: 0 / 0.9516 GB, free: 7.691 MB / 0.7169 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.0003214/0.6477, allocations: 336.7 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6478, allocations: 13.91 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.6478, allocations: 35.78 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.6478, allocations: 10.06 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.6479, allocations: 174.5 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.6479, allocations: 1.438 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.6479, allocations: 5.422 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.648, allocations: 45.56 kB / 0.9522 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6481, allocations: 0 / 0.9522 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.6481, allocations: 8 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.6481, allocations: 1.125 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.6482, allocations: 18.92 kB / 0.9522 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.6484, allocations: 249.3 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.6485, allocations: 31.25 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.6486, allocations: 21.81 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.6486, allocations: 0 / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.6486, allocations: 35.78 kB / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6486, allocations: 0 / 0.9526 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002222/0.6488, allocations: 65.48 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.6489, allocations: 52.91 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.6489, allocations: 105.1 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.6489, allocations: 25.7 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.649, allocations: 89.62 kB / 0.9529 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.649, allocations: 4.969 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.649, allocations: 12.66 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.6491, allocations: 318.8 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.6491, allocations: 9.734 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.6491, allocations: 5.125 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.6492, allocations: 32.78 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6492, allocations: 0 / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.556e-05/0.6493, allocations: 61.14 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6493, allocations: 5.469 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6494, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6494, allocations: 1.125 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.6494, allocations: 3.406 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.6495, allocations: 5.125 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.6495, allocations: 1.5 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.6495, allocations: 9.453 kB / 0.9533 GB, free: 5.859 MB / 0.7169 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 4.287e-05/0.6495, allocations: 111 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.6496, allocations: 5.75 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.6496, allocations: 8.5 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6496, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6496, allocations: 1.031 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6496, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.6497, allocations: 167.7 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6498, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.6498, allocations: 3.375 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6498, allocations: 1.688 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.6498, allocations: 0 / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6498, allocations: 256 / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.6498, allocations: 1.562 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.65, allocations: 159.8 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.65, allocations: 81.11 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.65, allocations: 1.281 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.6501, allocations: 1.688 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.6501, allocations: 1.719 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.6501, allocations: 3.984 kB / 0.9539 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.6502, allocations: 83.72 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6502, allocations: 1.125 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002059/0.6504, allocations: 2.781 kB / 0.9539 GB, free: 5.184 MB / 0.7169 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.0002763/0.6507, allocations: 0.6956 MB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.6508, allocations: 17.45 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6508, allocations: 0 / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.6509, allocations: 19.89 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.6511, allocations: 6.312 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.6514, allocations: 143.1 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.6515, allocations: 0.6817 MB / 0.9555 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.6516, allocations: 3.984 kB / 0.9555 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.6516, allocations: 13.25 kB / 0.9555 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6516, allocations: 3.938 kB / 0.9555 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.6704, allocations: 1.167 MB / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.629, allocations: 13.12 kB / 0.9566 GB, free: 2.961 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > 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/jenkins1/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