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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004194/0.004194, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001261/0.001261, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.21/1.21, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.23/2.23, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 64.09 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.58, allocations: 151.6 MB / 1.166 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002242/0.5823, allocations: 1.435 MB / 1.168 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.5829, allocations: 395.1 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.5829, allocations: 8 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.5829, allocations: 3.984 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.583, allocations: 7.922 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.5831, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.5832, allocations: 27.92 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.5833, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.5833, allocations: 19.86 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.693e-05/0.5834, allocations: 11.98 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.5834, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.5834, allocations: 8 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.5834, allocations: 7.922 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.5835, allocations: 11.94 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.677e-05/0.5835, allocations: 19.91 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5835, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5836, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5836, allocations: 0 / 1.168 GB, free: 1.898 MB / 0.8887 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.0003746/0.5839, allocations: 339.1 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.584, allocations: 8.922 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.584, allocations: 38.73 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.636e-05/0.584, allocations: 4.938 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5842, allocations: 160.4 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5842, allocations: 4.375 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5842, allocations: 4.375 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5843, allocations: 45.75 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5843, allocations: 0 / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.5843, allocations: 3.938 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.5843, allocations: 0 / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.5844, allocations: 19.98 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.5847, allocations: 260.9 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.8e-05/0.5848, allocations: 26.52 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.5849, allocations: 20.91 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.5849, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.5849, allocations: 38.56 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.5849, allocations: 0 / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.5851, allocations: 61.67 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5852, allocations: 51.41 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.5852, allocations: 105.8 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5853, allocations: 25.7 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.5853, allocations: 84.08 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.5853, allocations: 16.02 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.5854, allocations: 17.72 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5855, allocations: 318.8 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.5855, allocations: 12 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.5856, allocations: 11.92 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.5857, allocations: 24.84 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5857, allocations: 4.062 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.5858, allocations: 49.77 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5858, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.5858, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5858, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.5859, allocations: 8.188 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5859, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.5859, allocations: 11.94 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.586, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 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.794e-05/0.586, allocations: 117.8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.5861, allocations: 3.984 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.5861, allocations: 3.531 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5861, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.5861, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5861, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.5863, allocations: 169.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5863, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.5863, allocations: 4 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5863, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.5863, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5863, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5863, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.5865, allocations: 155.3 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.5866, allocations: 81.06 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.5866, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.5866, allocations: 8.031 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.5867, allocations: 7.984 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5867, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.5867, allocations: 79.28 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5867, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001948/0.5869, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 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.0004316/0.5874, allocations: 0.6851 MB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.5875, allocations: 23.92 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5875, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.5875, allocations: 19.92 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.5877, allocations: 5.125 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.5881, allocations: 144.4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.5883, allocations: 0.6768 MB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.5884, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.5884, allocations: 11.44 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.5884, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6463/1.235, allocations: 1.227 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.38, allocations: 11.83 kB / 1.173 GB, free: 12.44 MB / 0.9044 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=400 --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