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.0009631/0.0009631, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001023/0.001023, allocations: 179 kB / 16.27 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.436/2.436, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8.234 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6226, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001633/0.6243, allocations: 1.157 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.6249, allocations: 387.2 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.625, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.625, allocations: 3.938 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.6251, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.6252, allocations: 12 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.6253, allocations: 19.92 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.6254, allocations: 15.98 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.6254, allocations: 15.86 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.6255, allocations: 8 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.6255, allocations: 3.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.6255, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.6256, allocations: 3.984 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.6256, allocations: 29.64 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.6257, allocations: 27.89 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6257, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6257, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6257, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 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.0003656/0.6261, allocations: 333.8 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6261, allocations: 8.031 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.6262, allocations: 30.75 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.6262, allocations: 8.844 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.6263, allocations: 172.3 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.6263, allocations: 384 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.6264, allocations: 8.375 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6265, allocations: 49.75 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.6265, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.6265, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6265, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.6266, allocations: 23.98 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.6269, allocations: 248.9 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.627, allocations: 34.61 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.6271, allocations: 20.91 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.6271, allocations: 7.938 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.6272, allocations: 34.56 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6272, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.6274, allocations: 65.58 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6275, allocations: 51.41 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.6275, allocations: 101.9 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6276, allocations: 33.83 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.6276, allocations: 88.12 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.6276, allocations: 3.906 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.6277, allocations: 13.66 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6278, allocations: 318.8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.6278, allocations: 11.98 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.6279, allocations: 15.94 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.997e-05/0.628, allocations: 36.84 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.628, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.6281, allocations: 53.69 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6281, allocations: 5.719 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.6281, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6281, allocations: 8.016 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.6282, allocations: 8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6282, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.6283, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.6283, allocations: 4 kB / 1.026 GB, free: 12.16 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 6.77e-05/0.6284, allocations: 114.2 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.6284, allocations: 7.984 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.6284, allocations: 7.531 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6284, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6284, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.6284, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.6286, allocations: 157.6 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6286, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.6286, allocations: 15.97 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.6286, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.6287, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6287, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6287, allocations: 256 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.6288, allocations: 159.4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.6289, allocations: 85.09 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.6289, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.629, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.629, allocations: 7.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.629, allocations: 4.031 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.6291, allocations: 87.27 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6291, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002046/0.6293, allocations: 4 kB / 1.027 GB, free: 11.42 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.0004251/0.6297, allocations: 0.689 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.6298, allocations: 23.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6298, allocations: 3.938 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.6299, allocations: 8 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.6301, allocations: 17.36 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.6305, allocations: 166.3 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.6308, allocations: 0.677 MB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.6308, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.6308, allocations: 7.438 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6308, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.6596, allocations: 0.9846 MB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6598, allocations: 231.5 kB / 1.03 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.688, allocations: 0 / 1.03 GB, free: 8.664 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