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.001329/0.001329, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001369/0.001369, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.18/3.18, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",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.00209/0.00209, allocations: 69.84 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003029/0.3478, allocations: 1.453 MB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.3487, allocations: 474.8 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.3488, allocations: 4 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.3488, allocations: 0 / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.3489, allocations: 7.922 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3491, allocations: 19.92 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3492, allocations: 31.86 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.3493, allocations: 0 / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3494, allocations: 27.91 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.3495, allocations: 15.92 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3495, allocations: 8 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.3495, allocations: 4 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.3495, allocations: 0 / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.3496, allocations: 11.88 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3497, allocations: 32.11 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3497, allocations: 4 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3497, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3497, allocations: 0 / 1.323 GB, free: 1.266 MB / 1.014 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.0004745/0.3502, allocations: 339.4 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3502, allocations: 15.98 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3503, allocations: 34.75 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3504, allocations: 16.88 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3506, allocations: 172.3 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.3507, allocations: 384 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3507, allocations: 4.375 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3508, allocations: 45.75 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3508, allocations: 3.984 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3508, allocations: 4 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3508, allocations: 4 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.3509, allocations: 15.98 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3513, allocations: 248.9 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.3514, allocations: 30.56 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.3514, allocations: 24.84 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3514, allocations: 4 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3515, allocations: 30.56 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3515, allocations: 0 / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002412/0.3517, allocations: 53.69 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.3518, allocations: 55.45 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.3519, allocations: 113.8 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3519, allocations: 25.83 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.3519, allocations: 92.06 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3519, allocations: 7.891 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.352, allocations: 17.72 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3521, allocations: 314.8 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.3522, allocations: 15.92 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.3522, allocations: 8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.3523, allocations: 28.91 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3523, allocations: 0 / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001292/0.3524, allocations: 65.56 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3524, allocations: 4 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3524, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3525, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.3525, allocations: 4 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3525, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.3526, allocations: 7.969 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3526, allocations: 4 kB / 1.325 GB, free: 15.26 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.386e-05/0.3527, allocations: 121.8 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3527, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3527, allocations: 3.531 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3527, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3527, allocations: 4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3527, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3529, allocations: 161.6 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3529, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.353, allocations: 12 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.353, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.353, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.353, allocations: 4 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.353, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.3532, allocations: 151.4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.3532, allocations: 77.11 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.3532, allocations: 7.969 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.3533, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3533, allocations: 3.984 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3533, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.609e-05/0.3534, allocations: 87.28 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3534, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002126/0.3536, allocations: 4 kB / 1.325 GB, free: 14.53 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.0004911/0.3541, allocations: 0.6812 MB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3542, allocations: 23.92 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3543, allocations: 7.938 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.3543, allocations: 11.98 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.3545, allocations: 8.156 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3558, allocations: 1.219 MB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3561, allocations: 0.6806 MB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.3561, allocations: 4 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3562, allocations: 15.38 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3562, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.3804, allocations: 1.252 MB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.241, allocations: 1.688 kB / 1.329 GB, free: 10.63 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable kMinU.u in file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv. Warning: Get data of variable kMinU.u from file Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.110862677916884]