Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001734, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 194 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 63.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.6615, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.004678/0.6662, allocations: 1.495 MB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.6681, allocations: 0.7206 MB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.6682, allocations: 0 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.6682, allocations: 11.88 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.6683, allocations: 11.86 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.6692, allocations: 119.6 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.6694, allocations: 71.77 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.6696, allocations: 8 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.6697, allocations: 31.92 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.6699, allocations: 35.83 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.6699, allocations: 11.94 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.6703, allocations: 95.84 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.6703, allocations: 19.92 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.6704, allocations: 27.86 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.6708, allocations: 137.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.6708, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6708, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6708, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 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.0008549/0.6717, allocations: 442.5 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6718, allocations: 15.97 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.6718, allocations: 38.73 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.6719, allocations: 8.844 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.6721, allocations: 168.3 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.6721, allocations: 384 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.6722, allocations: 8.375 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.6724, allocations: 77.75 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6725, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.6725, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6725, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.6727, allocations: 39.92 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.6734, allocations: 304.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.6736, allocations: 46.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.6737, allocations: 32.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.6738, allocations: 3.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.6741, allocations: 79.31 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.6741, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006097/0.6747, allocations: 141.6 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.6748, allocations: 51.41 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6749, allocations: 121.8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.675, allocations: 33.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.6751, allocations: 84.14 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.6751, allocations: 15.81 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.6752, allocations: 25.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6754, allocations: 322.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.6755, allocations: 27.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.6757, allocations: 61.08 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.676, allocations: 93.06 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.676, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003782/0.6764, allocations: 113.4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6764, allocations: 4.156 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6764, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6764, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.6766, allocations: 19.86 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6766, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.6768, allocations: 15.84 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6768, allocations: 8 kB / 1.022 GB, free: 13.04 MB / 0.7794 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.0001489/0.677, allocations: 128.6 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.677, allocations: 7.984 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.6771, allocations: 12.38 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6771, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6771, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6771, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007549/0.6779, allocations: 382.3 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6779, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.678, allocations: 7.984 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.678, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.678, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6781, allocations: 3.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6781, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.6786, allocations: 211.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.6787, allocations: 84.95 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.6787, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.6789, allocations: 7.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.679, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.679, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.216e-05/0.6791, allocations: 95.92 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6791, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005848/0.6797, allocations: 39.98 kB / 1.023 GB, free: 11.95 MB / 0.7794 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.001232/0.681, allocations: 0.8023 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.6814, allocations: 67.89 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6814, allocations: 4.312 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.6816, allocations: 39.92 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.6821, allocations: 15.92 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.6848, allocations: 1.495 MB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.6852, allocations: 0.6885 MB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.6853, allocations: 15.95 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.6854, allocations: 19.42 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.6854, allocations: 0 / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.7146, allocations: 2.593 MB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/8.259, allocations: 5.672 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.TOut in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " 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