Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 97.31 kB / 19.73 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 220.4 kB / 23.03 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.256/3.256, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.25 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002727/0.3351, allocations: 1.443 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.336, allocations: 431 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.336, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.336, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.3361, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.3363, allocations: 19.97 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3364, allocations: 35.84 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.3365, allocations: 4 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3366, allocations: 23.92 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.3367, allocations: 11.94 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3367, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.703e-05/0.3367, allocations: 8 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.3368, allocations: 7.969 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.3368, allocations: 11.94 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3369, allocations: 28.12 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3369, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3369, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3369, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 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.0004068/0.3373, allocations: 262.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3374, allocations: 11.97 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.3374, allocations: 4.188 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.3374, allocations: 34.75 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3376, allocations: 16.88 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3377, allocations: 114.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3378, allocations: 4.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.3378, allocations: 384 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3379, allocations: 45.62 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.3379, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3379, allocations: 3.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3379, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.338, allocations: 23.92 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.3383, allocations: 223.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.3384, allocations: 34.62 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.3385, allocations: 12.86 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3385, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3385, allocations: 30.56 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3385, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.3387, allocations: 65.61 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3388, allocations: 51.41 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.3388, allocations: 105.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3389, allocations: 29.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3389, allocations: 84.14 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.3389, allocations: 7.891 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.339, allocations: 21.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3391, allocations: 314.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.3391, allocations: 8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.3392, allocations: 16.11 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.3392, allocations: 24.84 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3392, allocations: 3.938 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.3394, allocations: 53.64 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3394, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3394, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3394, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.3395, allocations: 12.08 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3395, allocations: 4.312 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.3395, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3395, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 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 9.02e-05/0.3396, allocations: 122.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3396, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3396, allocations: 11.61 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3396, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3396, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3397, allocations: 3.984 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3398, allocations: 128.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3398, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.3398, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3398, allocations: 7.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3399, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.3399, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3399, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.34, allocations: 151.5 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.34, allocations: 7.953 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3401, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.3401, allocations: 8.031 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.3401, allocations: 7.984 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3401, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.3402, allocations: 83.28 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3402, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002104/0.3404, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 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.0004569/0.3409, allocations: 0.685 MB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.341, allocations: 24.02 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.341, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.341, allocations: 11.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3412, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3425, allocations: 1.227 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.3426, allocations: 67.44 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3426, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3426, allocations: 7.438 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3426, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.3632, allocations: 1.392 MB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.4, allocations: 9.766 kB / 1.334 GB, free: 9.66 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.26746139198076]