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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.335/2.335, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 71.89 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2516, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002244/0.2538, allocations: 1.443 MB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.2544, allocations: 411.8 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.2544, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.2544, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.2545, allocations: 3.938 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2546, allocations: 15.92 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.2547, allocations: 23.92 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.2547, allocations: 11.98 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.2548, allocations: 15.92 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.2548, allocations: 7.938 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2549, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.2549, allocations: 4 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.2549, allocations: 7.984 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.2549, allocations: 11.94 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.806e-05/0.255, allocations: 28.11 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.255, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.255, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.255, allocations: 4 kB / 1.217 GB, free: 13.95 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.0003685/0.2554, allocations: 335.4 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2554, allocations: 8.031 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.2554, allocations: 38.69 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.2554, allocations: 0.9375 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2555, allocations: 176.3 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2556, allocations: 384 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-06/0.2556, allocations: 384 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2557, allocations: 49.75 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2557, allocations: 4 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.2557, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2557, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.2558, allocations: 19.98 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.256, allocations: 248.8 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.2561, allocations: 30.61 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.2562, allocations: 28.84 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2562, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2562, allocations: 34.56 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2562, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.2564, allocations: 57.67 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2564, allocations: 55.47 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.2565, allocations: 105.9 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2565, allocations: 25.7 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2566, allocations: 88.12 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.2566, allocations: 3.953 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.2566, allocations: 17.72 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2567, allocations: 314.8 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.2568, allocations: 15.92 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.2568, allocations: 12 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.914e-05/0.2569, allocations: 24.84 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2569, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.257, allocations: 49.69 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.257, allocations: 7.984 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.257, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.257, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.2571, allocations: 4.094 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.2571, allocations: 4 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.2571, allocations: 11.89 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.2571, allocations: 0 / 1.219 GB, free: 11.98 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.217e-05/0.2572, allocations: 125.7 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.2572, allocations: 0 / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.698e-05/0.2572, allocations: 3.531 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2572, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2572, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2572, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.2574, allocations: 157.6 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2574, allocations: 3.984 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.2574, allocations: 4.25 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2574, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2574, allocations: 4 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2574, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2574, allocations: 3.984 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.2576, allocations: 159.5 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.2576, allocations: 81.06 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.2576, allocations: 3.938 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.2577, allocations: 4 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.2577, allocations: 0 / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2577, allocations: 0 / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.2578, allocations: 87.27 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2578, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001943/0.2579, allocations: 4 kB / 1.22 GB, free: 11.25 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.0004119/0.2584, allocations: 0.6949 MB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.2585, allocations: 23.92 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2585, allocations: 4.094 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.2585, allocations: 8 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.2587, allocations: 3.984 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.2591, allocations: 152.2 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2593, allocations: 0.6768 MB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.2593, allocations: 3.906 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.2593, allocations: 11.44 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.2593, allocations: 4.062 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.2808, allocations: 1.181 MB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/7.091, allocations: 4.062 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv","/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) [Timeout 300] "Error: Could not read variable kMinU.u in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv. Warning: Get data of variable kMinU.u from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.227464577001228]