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) 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-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.002063/0.002063, allocations: 187.6 kB / 16.67 MB, free: 5.934 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.88 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6386, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002656/0.6413, allocations: 1.491 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.6426, allocations: 0.7176 MB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.017e-05/0.6427, allocations: 4 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.6427, allocations: 7.938 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.6428, allocations: 11.86 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.6433, allocations: 115.6 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.6434, allocations: 71.72 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.6435, allocations: 15.94 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.6436, allocations: 31.91 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.6437, allocations: 39.84 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.6437, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.6439, allocations: 99.84 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.644, allocations: 11.92 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.644, allocations: 35.86 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.6443, allocations: 131.3 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6443, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6443, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.6443, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 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.0006199/0.6449, allocations: 458.3 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.645, allocations: 8.031 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.645, allocations: 34.75 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.6451, allocations: 8.891 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6452, allocations: 184.2 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.6452, allocations: 4.375 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.6453, allocations: 4.375 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.6455, allocations: 69.78 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6455, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.6455, allocations: 8 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6455, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.6457, allocations: 43.84 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/0.6461, allocations: 292.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.6463, allocations: 50.55 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.6464, allocations: 36.97 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.6464, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.6466, allocations: 87.38 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.6467, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.6471, allocations: 137.6 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.6472, allocations: 55.41 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6473, allocations: 121.8 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.6473, allocations: 29.7 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.6474, allocations: 92.12 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.6474, allocations: 15.91 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.6474, allocations: 29.7 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6476, allocations: 314.8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.6477, allocations: 31.97 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.6478, allocations: 61.08 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.648, allocations: 89.06 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.648, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.6482, allocations: 109.5 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6483, allocations: 8 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6483, allocations: 480 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6483, allocations: 8 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.6484, allocations: 15.94 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6484, allocations: 7.984 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.6485, allocations: 7.938 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.6485, allocations: 11.92 kB / 1.225 GB, free: 12.58 MB / 0.9512 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 9.446e-05/0.6486, allocations: 117.8 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.6486, allocations: 7.953 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.6487, allocations: 16.36 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6487, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6487, allocations: 4 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6487, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.6492, allocations: 378.4 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6492, allocations: 4 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.6493, allocations: 7.938 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6493, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6493, allocations: 3.984 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6493, allocations: 7.938 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6493, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.6496, allocations: 203.4 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.6497, allocations: 92.98 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.6497, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.6498, allocations: 7.938 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.6499, allocations: 11.98 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6499, allocations: 4 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.65, allocations: 91.92 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.65, allocations: 0 / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003061/0.6503, allocations: 39.94 kB / 1.226 GB, free: 11.49 MB / 0.9512 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.0008781/0.6512, allocations: 0.8136 MB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.6514, allocations: 67.89 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6514, allocations: 0 / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.6515, allocations: 36.23 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.6518, allocations: 19.92 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.6535, allocations: 1.506 MB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.6538, allocations: 0.6885 MB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.6539, allocations: 8 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.6539, allocations: 19.42 kB / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.6539, allocations: 4 kB / 1.229 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.6769, allocations: 2.642 MB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.355, allocations: 5.969 kB / 1.232 GB, free: 5.656 MB / 0.9512 GB (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) 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) "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_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! " 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