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.005145/0.005145, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001163/0.001163, allocations: 189.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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.6/2.6, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003096/0.3093, allocations: 1.427 MB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.3101, allocations: 395.1 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3101, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.3102, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.3103, allocations: 11.92 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.3104, allocations: 8 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.3105, allocations: 27.86 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3106, allocations: 7.984 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3107, allocations: 19.92 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.3108, allocations: 11.92 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3108, allocations: 4 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.3109, allocations: 0 / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3109, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3109, allocations: 7.938 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.943e-05/0.311, allocations: 27.89 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.311, allocations: 4 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.311, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.311, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 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.0004182/0.3115, allocations: 336.7 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3115, allocations: 8.031 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.3116, allocations: 30.75 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.3116, allocations: 12.86 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3118, allocations: 164.9 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3118, allocations: 8.312 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3118, allocations: 8.375 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3119, allocations: 37.81 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.312, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.312, allocations: 11.94 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.312, allocations: 0 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.3121, allocations: 15.97 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3125, allocations: 261.1 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.3126, allocations: 30.52 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.3126, allocations: 20.91 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3127, allocations: 0 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3127, allocations: 30.56 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3127, allocations: 0 / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002533/0.313, allocations: 65.67 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.313, allocations: 59.34 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.3131, allocations: 101.8 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3131, allocations: 25.7 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.3132, allocations: 92.05 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3132, allocations: 0 / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.3133, allocations: 13.72 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3134, allocations: 322.9 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.3134, allocations: 8.25 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.3135, allocations: 11.98 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.3136, allocations: 24.86 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3136, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.3137, allocations: 57.58 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3137, allocations: 4 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3137, allocations: 8.031 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3138, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.3138, allocations: 4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3139, allocations: 0 / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.3139, allocations: 11.98 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3139, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 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.651e-05/0.314, allocations: 109.8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.314, allocations: 7.938 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.3141, allocations: 7.531 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3141, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3141, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3141, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3143, allocations: 165.6 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.3143, allocations: 4 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3143, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3144, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3144, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.3145, allocations: 163.2 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.3146, allocations: 81.11 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3146, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.3147, allocations: 4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.3147, allocations: 7.984 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3147, allocations: 0 / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.3148, allocations: 79.31 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3148, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002176/0.315, allocations: 4 kB / 1.17 GB, free: 2.676 MB / 0.92 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.0004361/0.3154, allocations: 0.6812 MB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3156, allocations: 27.95 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3156, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.3156, allocations: 15.98 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.3159, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3163, allocations: 150 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3166, allocations: 0.6768 MB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.3167, allocations: 4.125 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3167, allocations: 19.38 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3167, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.3358, allocations: 1.216 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.663, allocations: 11.83 kB / 1.173 GB, free: 15.93 MB / 0.9356 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