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.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.001415/0.001415, allocations: 106.8 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.001426/0.001426, allocations: 185.9 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.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.91 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7984, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002164/0.8006, allocations: 1.509 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.8016, allocations: 0.7495 MB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.8017, allocations: 0.75 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.8017, allocations: 5.484 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.8017, allocations: 11.47 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.8022, allocations: 118.8 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.8023, allocations: 77.69 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.8024, allocations: 6.328 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.8025, allocations: 34.77 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.8025, allocations: 33.08 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.8025, allocations: 5.219 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.8027, allocations: 105.1 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.8028, allocations: 17.5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.8028, allocations: 32.11 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.803, allocations: 145.4 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.803, allocations: 0 / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.803, allocations: 0.6875 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.803, allocations: 4 kB / 1.274 GB, free: 5.914 MB / 0.9981 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.0004373/0.8034, allocations: 442.9 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.8035, allocations: 9.406 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.8035, allocations: 37.73 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.8035, allocations: 8.828 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.8036, allocations: 179.7 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8036, allocations: 2.438 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.8036, allocations: 4.219 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.8038, allocations: 75.72 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8038, allocations: 0 / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8038, allocations: 4.922 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.8038, allocations: 1 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.8039, allocations: 34.39 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.8043, allocations: 297.6 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.8044, allocations: 48.94 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.8045, allocations: 32.83 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.8045, allocations: 6.672 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.8047, allocations: 75.78 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8047, allocations: 4.656 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003584/0.805, allocations: 137.8 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.805, allocations: 57.22 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.8051, allocations: 124.6 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.8051, allocations: 30.58 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.8052, allocations: 87.17 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.8052, allocations: 16.95 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.8052, allocations: 24.3 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.8052, allocations: 326.5 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.8053, allocations: 21 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.8054, allocations: 67.45 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8055, allocations: 91.34 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8055, allocations: 0.8125 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001994/0.8057, allocations: 118 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8057, allocations: 5.094 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8057, allocations: 1.531 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8058, allocations: 2.031 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.8058, allocations: 13.58 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8059, allocations: 6.688 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.8059, allocations: 12.22 kB / 1.276 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.8059, allocations: 5.688 kB / 1.276 GB, free: 3.812 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 5.562e-05/0.806, allocations: 128 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.806, allocations: 6.609 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.806, allocations: 19.34 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.806, allocations: 0.6562 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.806, allocations: 0.625 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.806, allocations: 1.969 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.8064, allocations: 380.7 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8064, allocations: 0.875 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.8064, allocations: 9.406 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8064, allocations: 1.125 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.8064, allocations: 1.969 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8064, allocations: 5 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8064, allocations: 0 / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.8067, allocations: 210.1 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.8067, allocations: 84.53 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8067, allocations: 5.969 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.8068, allocations: 7.422 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.8068, allocations: 6.672 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.8068, allocations: 5.594 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.8068, allocations: 96.31 kB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8068, allocations: 0 / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002808/0.8071, allocations: 39.41 kB / 1.277 GB, free: 2.949 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.0006026/0.8077, allocations: 0.7975 MB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.808, allocations: 75.48 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.808, allocations: 4.969 kB / 1.278 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.8081, allocations: 28.59 kB / 1.278 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.8083, allocations: 11.47 kB / 1.278 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8096, allocations: 1.52 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.8098, allocations: 0.6957 MB / 1.28 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.8099, allocations: 8.484 kB / 1.28 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.8099, allocations: 28.98 kB / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.8099, allocations: 0 / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.8332, allocations: 2.634 MB / 1.283 GB, free: 15.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.959, allocations: 13.03 kB / 1.283 GB, free: 15.59 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.37153607000073]