Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_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.006966/0.006966, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001806/0.001806, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 67.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6219/0.6245, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002288/0.6268, allocations: 1.429 MB / 1.222 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.6274, allocations: 395.1 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.6275, allocations: 0 / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.6275, allocations: 0 / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.6275, allocations: 3.938 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.6277, allocations: 19.97 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.6277, allocations: 19.92 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.6278, allocations: 4 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.6279, allocations: 15.88 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.628, allocations: 11.98 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.628, allocations: 4 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.628, allocations: 0 / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.628, allocations: 7.922 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.628, allocations: 15.92 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.698e-05/0.6281, allocations: 19.92 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6281, allocations: 4 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6281, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.6281, allocations: 0 / 1.222 GB, free: 96 kB / 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.0003728/0.6285, allocations: 339.1 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6285, allocations: 12.03 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.6286, allocations: 30.75 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.73e-05/0.6286, allocations: 0.9375 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6287, allocations: 168.3 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.6287, allocations: 8.375 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-06/0.6288, allocations: 384 / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.6289, allocations: 49.73 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6289, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.6289, allocations: 4 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.6289, allocations: 4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.629, allocations: 11.98 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.6293, allocations: 256.9 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/0.6294, allocations: 34.5 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.6294, allocations: 16.92 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.6294, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.6295, allocations: 38.55 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.6295, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.00021/0.6297, allocations: 61.69 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.6297, allocations: 51.41 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.6298, allocations: 105.8 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.6298, allocations: 25.7 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.6299, allocations: 100 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.6299, allocations: 3.953 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.6299, allocations: 17.7 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6301, allocations: 322.9 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.6301, allocations: 7.984 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.6301, allocations: 8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.6302, allocations: 20.84 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6302, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.6303, allocations: 49.64 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6304, allocations: 13.75 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.6304, allocations: 4 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.6304, allocations: 0 / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.6304, allocations: 11.92 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.6305, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.6305, allocations: 8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.6305, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 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 7.023e-05/0.6306, allocations: 109.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.6306, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.6306, allocations: 11.52 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6306, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6306, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6306, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.6308, allocations: 169.6 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6308, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.6309, allocations: 7.984 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6309, allocations: 3.984 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.6309, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6309, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6309, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.631, allocations: 151.4 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.6311, allocations: 89.05 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.6311, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.6312, allocations: 8.188 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.6312, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.6312, allocations: 8 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.6313, allocations: 87.3 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6313, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001929/0.6315, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 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.0004195/0.6319, allocations: 0.6778 MB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.632, allocations: 31.95 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.632, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.6321, allocations: 12 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.6322, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.6326, allocations: 148.1 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6329, allocations: 0.6768 MB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.6329, allocations: 12.06 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.6329, allocations: 11.44 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6329, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8142/1.447, allocations: 1.213 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.27, allocations: 0 / 1.227 GB, free: 10.64 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches