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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001029/0.001029, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008497/0.008497, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 6.906 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00137/0.2479, allocations: 1.163 MB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.2485, allocations: 391.1 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.2485, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.2485, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.2486, allocations: 11.91 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.2487, allocations: 8 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.2488, allocations: 19.92 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.009e-05/0.2488, allocations: 8 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.2489, allocations: 11.94 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.249, allocations: 11.92 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.249, allocations: 0 / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.249, allocations: 4 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.249, allocations: 7.984 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.2491, allocations: 33.62 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.605e-05/0.2491, allocations: 19.92 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2491, allocations: 3.984 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2491, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2491, allocations: 0 / 1.06 GB, free: 3.191 MB / 0.8106 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.0003304/0.2495, allocations: 339.7 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2495, allocations: 11.97 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2495, allocations: 38.73 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.2496, allocations: 4.938 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2497, allocations: 164.3 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.2497, allocations: 384 / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.2497, allocations: 4.375 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2498, allocations: 53.8 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.2498, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.2499, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2499, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.25, allocations: 23.98 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.2502, allocations: 248.8 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.2503, allocations: 42.5 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.2504, allocations: 20.92 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.2504, allocations: 0 / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2504, allocations: 34.55 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.2504, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.2507, allocations: 61.62 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2507, allocations: 55.41 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.2508, allocations: 101.8 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2508, allocations: 25.7 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.2508, allocations: 88.14 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2509, allocations: 15.91 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.2509, allocations: 13.7 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.251, allocations: 322.8 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.251, allocations: 4 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.2511, allocations: 11.98 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.2512, allocations: 36.91 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2512, allocations: 0 / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/0.2513, allocations: 57.62 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2513, allocations: 4 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2513, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.2513, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.2514, allocations: 11.98 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2514, allocations: 4.031 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.2515, allocations: 4 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.2515, allocations: 256 / 1.062 GB, free: 1.188 MB / 0.8106 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.112e-05/0.2515, allocations: 109.8 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2516, allocations: 7.906 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.2516, allocations: 7.531 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2516, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.2516, allocations: 11.92 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2516, allocations: 4 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2518, allocations: 161.6 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2518, allocations: 4 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2518, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2518, allocations: 3.984 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2518, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2518, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2518, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.252, allocations: 155.4 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.2521, allocations: 85.11 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.2521, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.2521, allocations: 7.984 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.2522, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.2522, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.2522, allocations: 83.27 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2522, allocations: 4.031 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002133/0.2524, allocations: 11.94 kB / 1.063 GB, free: 456 kB / 0.8106 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.0003939/0.2528, allocations: 0.685 MB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.253, allocations: 28.02 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.253, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.253, allocations: 15.98 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2532, allocations: 7.984 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.2536, allocations: 158.4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2538, allocations: 0.677 MB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.2539, allocations: 3.984 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2539, allocations: 11.44 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2539, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/1.289, allocations: 0.989 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.289, allocations: 224 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/3.208, allocations: 0 / 1.066 GB, free: 13.7 MB / 0.8262 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