Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00217/0.00217, allocations: 212 kB / 22.24 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.002065/0.002065, allocations: 69.66 kB / 1.117 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 169.9 MB / 1.283 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003421/0.3512, allocations: 1.498 MB / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3531, allocations: 0.7571 MB / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.3531, allocations: 0 / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3532, allocations: 7.922 kB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.3532, allocations: 11.86 kB / 1.285 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.354, allocations: 143.5 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3542, allocations: 71.78 kB / 1.285 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3543, allocations: 16.16 kB / 1.285 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3544, allocations: 43.8 kB / 1.285 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.3545, allocations: 23.91 kB / 1.285 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3546, allocations: 11.94 kB / 1.285 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.3549, allocations: 135.8 kB / 1.285 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.3549, allocations: 15.92 kB / 1.285 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.355, allocations: 27.86 kB / 1.285 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.3553, allocations: 155.7 kB / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3553, allocations: 0 / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3553, allocations: 0 / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3553, allocations: 0 / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006653/0.356, allocations: 373.2 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.356, allocations: 12.03 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.3561, allocations: 38.73 kB / 1.286 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3563, allocations: 20.86 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3566, allocations: 134.4 kB / 1.286 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3566, allocations: 4.375 kB / 1.286 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3566, allocations: 4.375 kB / 1.286 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3568, allocations: 81.5 kB / 1.286 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3568, allocations: 0 / 1.286 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3568, allocations: 4 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3568, allocations: 0 / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.357, allocations: 35.97 kB / 1.286 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.3575, allocations: 255.9 kB / 1.286 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3577, allocations: 50.5 kB / 1.286 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.3578, allocations: 36.97 kB / 1.286 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3578, allocations: 3.984 kB / 1.286 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.358, allocations: 75.38 kB / 1.286 GB, free: 60 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.358, allocations: 0 / 1.286 GB, free: 60 kB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004584/0.3585, allocations: 133.8 kB / 1.287 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3585, allocations: 63.34 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3586, allocations: 122.1 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3587, allocations: 29.7 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.3588, allocations: 92.09 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3588, allocations: 27.73 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.3588, allocations: 21.72 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.359, allocations: 322.8 kB / 1.287 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.3591, allocations: 23.98 kB / 1.287 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3593, allocations: 57.14 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3594, allocations: 93.06 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3594, allocations: 0 / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002703/0.3597, allocations: 113.5 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3597, allocations: 12.16 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3597, allocations: 3.938 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3597, allocations: 3.938 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.3598, allocations: 19.92 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3598, allocations: 0 / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.3599, allocations: 12 kB / 1.288 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3599, allocations: 7.922 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001052/0.36, allocations: 117.8 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.36, allocations: 11.89 kB / 1.288 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.3601, allocations: 12.38 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3601, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3601, allocations: 4 kB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3601, allocations: 0 / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3606, allocations: 341.5 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3606, allocations: 0 / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.3606, allocations: 4 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3606, allocations: 0 / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3606, allocations: 7.984 kB / 1.288 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3606, allocations: 7.875 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3607, allocations: 4 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.361, allocations: 211.5 kB / 1.288 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.361, allocations: 7.953 kB / 1.288 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.361, allocations: 3.984 kB / 1.288 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3611, allocations: 7.938 kB / 1.288 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3611, allocations: 12.02 kB / 1.288 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3612, allocations: 8 kB / 1.288 GB, free: 14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.3612, allocations: 93.64 kB / 1.288 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3612, allocations: 0 / 1.288 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003102/0.3616, allocations: 39.92 kB / 1.288 GB, free: 13.88 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009711/0.3625, allocations: 0.8148 MB / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3628, allocations: 68.2 kB / 1.289 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3628, allocations: 8 kB / 1.289 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.971e-05/0.3629, allocations: 27.97 kB / 1.289 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3632, allocations: 19.86 kB / 1.289 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3653, allocations: 1.518 MB / 1.291 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.673e-05/0.3654, allocations: 79.27 kB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.3655, allocations: 4 kB / 1.291 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.3655, allocations: 19.44 kB / 1.291 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.3655, allocations: 0 / 1.291 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3977, allocations: 3.246 MB / 1.294 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 0.75 kB / 1.294 GB, free: 8.098 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.TOut in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TOut.y,bli.blindState,bli.pDown,TOut.amplitude,TOut.f [Calling sys.exit(0), Time elapsed: 18.737286920193583]