Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_10_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.00176/0.001761, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001362, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.6216, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003179/0.6248, allocations: 1.489 MB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006625/0.6255, allocations: 391.1 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.6255, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.6256, allocations: 7.922 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.6257, allocations: 7.922 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.6259, allocations: 12 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.6259, allocations: 23.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.626, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.6261, allocations: 15.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.6262, allocations: 11.88 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6262, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.6263, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.6263, allocations: 7.984 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.6263, allocations: 11.92 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.6264, allocations: 15.92 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6264, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6264, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6264, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 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.0004048/0.6268, allocations: 337.8 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6269, allocations: 11.98 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.6269, allocations: 38.75 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.627, allocations: 0.9375 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/0.6271, allocations: 172.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6271, allocations: 4.375 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.6271, allocations: 4.375 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.6272, allocations: 45.81 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.6273, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.6273, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6273, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.6274, allocations: 19.98 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.6277, allocations: 248.9 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.6278, allocations: 34.56 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.6278, allocations: 20.89 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.6279, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.6279, allocations: 38.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.6279, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000221/0.6281, allocations: 57.69 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.6282, allocations: 51.41 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.6283, allocations: 105.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.6283, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.6283, allocations: 84.14 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.6283, allocations: 11.89 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.6284, allocations: 9.719 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6285, allocations: 322.9 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.6285, allocations: 11.98 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.6286, allocations: 15.88 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.6287, allocations: 28.78 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6287, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.6288, allocations: 49.69 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6288, allocations: 5.5 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6288, allocations: 4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6289, allocations: 3.984 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.6289, allocations: 8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6289, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.629, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.629, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 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.275e-05/0.6291, allocations: 114.3 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.6291, allocations: 7.891 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.6291, allocations: 11.53 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6292, allocations: 7.938 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6292, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6292, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.6293, allocations: 161.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6293, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.6294, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6294, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.6296, allocations: 151.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.6296, allocations: 81.34 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.6296, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.6297, allocations: 8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.6297, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6297, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.6298, allocations: 91.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6298, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002243/0.63, allocations: 7.906 kB / 1.021 GB, free: 14.1 MB / 0.7794 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.0004023/0.6304, allocations: 0.6812 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.6306, allocations: 20.02 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6306, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.6306, allocations: 19.88 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.6309, allocations: 8.5 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.6313, allocations: 146.1 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.6315, allocations: 0.6849 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.6315, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.6316, allocations: 7.438 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6316, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.6422, allocations: 1.046 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.6424, allocations: 224.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.333, allocations: 5.766 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches