Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001725/0.001725, 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.002022/0.002022, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.548/2.548, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 60.09 kB / 0.8693 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5758, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002774/0.5786, allocations: 1.487 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.58, allocations: 0.7284 MB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.5801, allocations: 4 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.5802, allocations: 11.88 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.5803, allocations: 11.86 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.5809, allocations: 119.6 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.581, allocations: 67.84 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.5812, allocations: 11.98 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.5813, allocations: 39.84 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.5813, allocations: 31.84 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.5814, allocations: 4 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.5816, allocations: 95.91 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.5816, allocations: 15.92 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.5817, allocations: 31.94 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.5819, allocations: 137.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5819, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5819, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.5819, allocations: 0 / 1.02 GB, free: 15.86 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.0006314/0.5826, allocations: 450.5 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5826, allocations: 8.031 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.5827, allocations: 38.75 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.5827, allocations: 8.844 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5828, allocations: 176.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5829, allocations: 384 / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.5829, allocations: 4.375 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5831, allocations: 81.72 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5831, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5831, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5831, allocations: 7.938 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5833, allocations: 35.97 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.5838, allocations: 300.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.5839, allocations: 54.56 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.584, allocations: 36.91 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.5841, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.5844, allocations: 75.44 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.5844, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003932/0.5848, allocations: 137.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5848, allocations: 59.39 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.5849, allocations: 121.8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.585, allocations: 25.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.585, allocations: 96.12 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.5851, allocations: 11.81 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.5851, allocations: 29.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5852, allocations: 322.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.5853, allocations: 19.98 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.892e-05/0.5854, allocations: 69.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.5856, allocations: 89.06 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5856, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002203/0.5858, allocations: 109.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5858, allocations: 15.98 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5858, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5859, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.5859, allocations: 11.94 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.586, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.586, allocations: 15.83 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.586, allocations: 4 kB / 1.022 GB, free: 13.2 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 8.888e-05/0.5861, allocations: 131.4 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.5862, allocations: 4 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.5862, allocations: 4.375 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5862, allocations: 7.922 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5862, allocations: 4 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5862, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.5866, allocations: 378.4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5867, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.5867, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5867, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5867, allocations: 3.984 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5867, allocations: 3.938 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5867, allocations: 3.938 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.587, allocations: 199.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.5871, allocations: 92.89 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.5871, allocations: 7.984 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.5872, allocations: 15.94 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.5872, allocations: 3.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.5872, allocations: 4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.5873, allocations: 91.27 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5873, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003528/0.5877, allocations: 36 kB / 1.023 GB, free: 12.11 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.0007969/0.5885, allocations: 0.801 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.5887, allocations: 72.2 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5887, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.5888, allocations: 39.86 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5891, allocations: 17.31 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5908, allocations: 1.507 MB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.5911, allocations: 0.6846 MB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.5911, allocations: 7.922 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.5912, allocations: 19.44 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5912, allocations: 0 / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.6091, allocations: 2.587 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/8.005, allocations: 10.5 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_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_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.TIn in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! " 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