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.001922/0.001922, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002436/0.002436, allocations: 213.7 kB / 19.43 MB, free: 3.648 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 / 252.8 MB, free: 9.094 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.985/2.985, allocations: 476.7 MB / 0.7672 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 176] 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.002136/0.002136, allocations: 71.84 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7664, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002865/0.7693, allocations: 1.519 MB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.7708, allocations: 0.8 MB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.7708, allocations: 4 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.7709, allocations: 7.875 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.7709, allocations: 15.86 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.7716, allocations: 127.6 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.7717, allocations: 75.77 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.7718, allocations: 8.188 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.7719, allocations: 47.77 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.772, allocations: 31.91 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.772, allocations: 4 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.7723, allocations: 107.9 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.7723, allocations: 15.91 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.7724, allocations: 39.86 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.7727, allocations: 149.3 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7727, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.847e-06/0.7727, allocations: 3.984 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7727, allocations: 0 / 1.281 GB, free: 10.47 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.0007382/0.7734, allocations: 450.3 kB / 1.282 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7734, allocations: 12.03 kB / 1.282 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.7735, allocations: 38.75 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.7738, allocations: 28.91 kB / 1.282 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.774, allocations: 180.3 kB / 1.282 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.7741, allocations: 8.375 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.7741, allocations: 4.375 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.7743, allocations: 73.53 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7743, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.7743, allocations: 7.984 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7743, allocations: 3.938 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.7745, allocations: 35.98 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.775, allocations: 296.7 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.7752, allocations: 46.5 kB / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.7753, allocations: 32.95 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.7753, allocations: 4 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.7755, allocations: 75.38 kB / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.7755, allocations: 0 / 1.282 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004608/0.776, allocations: 149.5 kB / 1.283 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.776, allocations: 51.41 kB / 1.283 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.7761, allocations: 122.1 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.7762, allocations: 33.7 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.7762, allocations: 92.09 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.7762, allocations: 19.89 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.7763, allocations: 21.72 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7764, allocations: 322.8 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.7765, allocations: 23.98 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.7766, allocations: 65.12 kB / 1.283 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.7768, allocations: 85.08 kB / 1.283 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7768, allocations: 4 kB / 1.283 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.7771, allocations: 109.5 kB / 1.283 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7771, allocations: 8 kB / 1.283 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7771, allocations: 3.938 kB / 1.283 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.7771, allocations: 4 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.918e-05/0.7772, allocations: 11.98 kB / 1.283 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7772, allocations: 4.156 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.7773, allocations: 15.94 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.7773, allocations: 11.97 kB / 1.283 GB, free: 7.777 MB / 0.9825 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.0001259/0.7774, allocations: 126.1 kB / 1.284 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.7775, allocations: 7.953 kB / 1.284 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.7775, allocations: 8.375 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.7775, allocations: 4 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7775, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7775, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.7781, allocations: 382.4 kB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7781, allocations: 3.984 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.7781, allocations: 11.88 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7782, allocations: 0 / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.7782, allocations: 8 kB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7782, allocations: 3.938 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7782, allocations: 0 / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.7785, allocations: 207.9 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.7786, allocations: 85 kB / 1.284 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.7786, allocations: 0 / 1.284 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.7787, allocations: 11.92 kB / 1.284 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.7788, allocations: 8 kB / 1.284 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.7788, allocations: 3.984 kB / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.7789, allocations: 96.89 kB / 1.284 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7789, allocations: 4 kB / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003564/0.7792, allocations: 39.88 kB / 1.284 GB, free: 6.684 MB / 0.9825 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.001121/0.7803, allocations: 0.8098 MB / 1.285 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.7806, allocations: 59.91 kB / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7806, allocations: 0 / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.7807, allocations: 39.91 kB / 1.285 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.781, allocations: 11.94 kB / 1.285 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.7831, allocations: 1.532 MB / 1.287 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.7835, allocations: 0.6885 MB / 1.287 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.7836, allocations: 8.078 kB / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.7836, allocations: 23.42 kB / 1.288 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of SimCode: time 5.92e-07/0.7836, allocations: 0 / 1.288 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.8112, allocations: 2.689 MB / 1.29 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.183, allocations: 13.83 kB / 1.29 GB, free: 0.8008 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.485570712946355]