Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_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.005147/0.005147, allocations: 97.27 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.767/2.767, allocations: 469.4 MB / 0.7421 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 75.83 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.278, allocations: 159.1 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002511/0.2805, allocations: 1.495 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2817, allocations: 0.7283 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.2818, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.2818, allocations: 3.938 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.2819, allocations: 23.84 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2825, allocations: 111.6 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2826, allocations: 67.77 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.2827, allocations: 15.95 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.2828, allocations: 35.86 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.2829, allocations: 43.83 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2829, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.2831, allocations: 91.91 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.2831, allocations: 11.92 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.2832, allocations: 35.86 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.2834, allocations: 139.5 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2834, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2834, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2834, allocations: 0 / 1.222 GB, free: 11.9 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.0005782/0.284, allocations: 450.4 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.284, allocations: 8.031 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.2841, allocations: 34.75 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.2841, allocations: 8.875 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2842, allocations: 176.3 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2843, allocations: 8.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.2843, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2845, allocations: 73.72 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2845, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2845, allocations: 8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2845, allocations: 0 / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2847, allocations: 35.97 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.2851, allocations: 296.7 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2853, allocations: 50.5 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.2854, allocations: 32.97 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2854, allocations: 4 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.2856, allocations: 75.38 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2856, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004108/0.286, allocations: 141.6 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2861, allocations: 59.34 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.2862, allocations: 125.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2862, allocations: 33.64 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.2862, allocations: 88.14 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2863, allocations: 11.91 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2863, allocations: 29.7 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.2864, allocations: 322.8 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.2865, allocations: 23.98 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.2866, allocations: 57.14 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2868, allocations: 93.06 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2868, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.287, allocations: 117.4 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.287, allocations: 8 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.287, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.287, allocations: 4.156 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.2871, allocations: 23.92 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2872, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.2872, allocations: 7.938 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2872, allocations: 4 kB / 1.225 GB, free: 9.254 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 8.502e-05/0.2873, allocations: 128.1 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.2874, allocations: 11.94 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.2874, allocations: 8.375 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2874, allocations: 8.031 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2874, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2874, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.2878, allocations: 378.4 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2879, allocations: 0 / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.2879, allocations: 11.98 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2879, allocations: 0 / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2879, allocations: 11.94 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2879, allocations: 3.938 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.288, allocations: 4 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2882, allocations: 203.9 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.2883, allocations: 85.06 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.2883, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.2884, allocations: 7.938 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2884, allocations: 7.984 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2885, allocations: 8 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.2885, allocations: 91.92 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2885, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000321/0.2888, allocations: 47.8 kB / 1.226 GB, free: 8.152 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.0007412/0.2896, allocations: 0.8059 MB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2898, allocations: 67.89 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2899, allocations: 0 / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.29, allocations: 35.92 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.2903, allocations: 22.3 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2918, allocations: 1.511 MB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2921, allocations: 0.686 MB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.2921, allocations: 7.984 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.2922, allocations: 19.44 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2922, allocations: 0 / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.3094, allocations: 2.648 MB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.817, allocations: 10.03 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_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