Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_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.007746/0.007746, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.00187/0.00187, allocations: 192.1 kB / 16.67 MB, free: 5.918 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.91 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3092, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002843/0.3121, allocations: 1.425 MB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000712/0.3128, allocations: 391 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.3129, allocations: 0 / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.313, allocations: 3.938 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.313, allocations: 7.922 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.3132, allocations: 11.98 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.3133, allocations: 23.92 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3134, allocations: 8 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.3135, allocations: 11.94 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.3136, allocations: 15.92 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3136, allocations: 3.984 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.3136, allocations: 4 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3136, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3137, allocations: 15.92 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.635e-05/0.3138, allocations: 23.86 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3138, allocations: 0 / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3138, allocations: 0 / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3138, allocations: 0 / 1.209 GB, free: 8.18 MB / 0.9669 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.0004099/0.3142, allocations: 339.7 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3143, allocations: 8.625 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.3143, allocations: 34.75 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3143, allocations: 4.844 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3144, allocations: 164.4 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3145, allocations: 8.375 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3145, allocations: 384 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3146, allocations: 53.78 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3146, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3147, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3147, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.191e-05/0.3147, allocations: 23.92 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3151, allocations: 244.9 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.3152, allocations: 34.56 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.3152, allocations: 12.92 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3152, allocations: 0 / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3153, allocations: 46.55 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.3153, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002309/0.3155, allocations: 69.47 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3156, allocations: 51.41 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.3156, allocations: 105.8 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3157, allocations: 25.7 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.3157, allocations: 88.12 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3157, allocations: 7.844 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.3158, allocations: 21.64 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3159, allocations: 322.9 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.3159, allocations: 11.98 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.316, allocations: 4 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.3161, allocations: 32.78 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3161, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001203/0.3162, allocations: 49.69 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3162, allocations: 5.562 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3162, allocations: 4.094 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3163, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.3163, allocations: 11.98 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3164, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.3164, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3164, allocations: 0 / 1.211 GB, free: 6.199 MB / 0.9669 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.192e-05/0.3165, allocations: 113.8 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3165, allocations: 0 / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.3165, allocations: 11.52 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3165, allocations: 8 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3166, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3166, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3167, allocations: 157.6 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3167, allocations: 3.938 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.3168, allocations: 7.984 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3168, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3168, allocations: 0 / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3168, allocations: 4 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3168, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.317, allocations: 151.9 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.317, allocations: 85.09 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.317, allocations: 0 / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.3171, allocations: 4.25 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.3171, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3172, allocations: 4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3172, allocations: 87.3 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3172, allocations: 0 / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002333/0.3174, allocations: 8 kB / 1.211 GB, free: 5.469 MB / 0.9669 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.000438/0.3179, allocations: 0.6888 MB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.318, allocations: 24.02 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.318, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.3181, allocations: 15.94 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3183, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3188, allocations: 152.2 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.319, allocations: 0.6768 MB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.3191, allocations: 8.125 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3191, allocations: 7.438 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3191, allocations: 0 / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.337, allocations: 1.216 MB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.96, allocations: 9 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches