Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.001327/0.001327, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.001502/0.001502, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.591/1.591, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 3.049/3.049, allocations: 476.7 MB / 0.7672 GB, free: 5.309 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.002349/0.002349, allocations: 67.91 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7928, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003091/0.7959, allocations: 1.513 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.7976, allocations: 0.8117 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-05/0.7977, allocations: 0 / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.7977, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.7978, allocations: 23.78 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.7985, allocations: 127.6 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.7986, allocations: 71.78 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.7987, allocations: 16.11 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.7988, allocations: 43.84 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.7989, allocations: 27.91 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.7989, allocations: 11.94 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.7992, allocations: 111.9 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.7992, allocations: 11.97 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.7993, allocations: 31.81 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.7995, allocations: 153.3 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7996, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7996, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7996, allocations: 0 / 1.281 GB, free: 10.43 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.0006885/0.8002, allocations: 458.3 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8003, allocations: 8.031 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.8003, allocations: 38.75 kB / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.8006, allocations: 16.92 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.8008, allocations: 191.5 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8009, allocations: 4.375 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.8009, allocations: 4.375 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.8011, allocations: 81.52 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8011, allocations: 0 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.8011, allocations: 0 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.8011, allocations: 4 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.8013, allocations: 35.97 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.8018, allocations: 296.7 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.8019, allocations: 50.5 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.802, allocations: 28.97 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.802, allocations: 0 / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.8022, allocations: 79.31 kB / 1.282 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.8022, allocations: 0 / 1.282 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004531/0.8027, allocations: 145.9 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.8027, allocations: 59.34 kB / 1.283 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.8028, allocations: 122 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.8029, allocations: 29.7 kB / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.8029, allocations: 96.08 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.803, allocations: 15.91 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.803, allocations: 25.7 kB / 1.283 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8032, allocations: 326.8 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/0.8032, allocations: 19.98 kB / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.8033, allocations: 57.14 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.8035, allocations: 93.06 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8035, allocations: 0 / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002579/0.8038, allocations: 113.6 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8038, allocations: 12 kB / 1.283 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.8038, allocations: 4.078 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8038, allocations: 4 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.8039, allocations: 15.92 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8039, allocations: 7.984 kB / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.804, allocations: 11.94 kB / 1.283 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.804, allocations: 7.938 kB / 1.283 GB, free: 7.738 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.000105/0.8041, allocations: 124.2 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.8042, allocations: 11.94 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.8042, allocations: 12.41 kB / 1.284 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8042, allocations: 0 / 1.284 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8042, allocations: 4 kB / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8042, allocations: 0 / 1.284 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.8047, allocations: 378.4 kB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8047, allocations: 4 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.8048, allocations: 3.984 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8048, allocations: 8 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.8048, allocations: 7.938 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.8048, allocations: 3.938 kB / 1.284 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8048, allocations: 0 / 1.284 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.8051, allocations: 199.5 kB / 1.284 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8052, allocations: 85.06 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8052, allocations: 0 / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.8053, allocations: 11.94 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.8053, allocations: 11.98 kB / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.8054, allocations: 0 / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.8054, allocations: 95.27 kB / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8054, allocations: 0 / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003449/0.8058, allocations: 43.86 kB / 1.284 GB, free: 6.648 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.00096/0.8067, allocations: 0.8026 MB / 1.285 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.807, allocations: 67.89 kB / 1.285 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.807, allocations: 4.312 kB / 1.285 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.8071, allocations: 35.92 kB / 1.285 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.8074, allocations: 20.31 kB / 1.285 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.8094, allocations: 1.528 MB / 1.287 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.8097, allocations: 0.6924 MB / 1.288 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.8098, allocations: 4 kB / 1.288 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.8098, allocations: 23.42 kB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.8098, allocations: 0 / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.8389, allocations: 2.685 MB / 1.29 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.157, allocations: 11.02 kB / 1.29 GB, free: 0.7617 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_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_Haldi2008BlindsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.TIn in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TIn.y,bli.blindState,bli.pDown,TIn.amplitude,TIn.f [Calling sys.exit(0), Time elapsed: 15.776750778080896]