Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_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.008159/0.008159, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001915/0.001915, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8503, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002615/0.853, allocations: 1.503 MB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.8542, allocations: 0.7254 MB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.8543, allocations: 0 / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.8543, allocations: 7.875 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.8544, allocations: 11.88 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.855, allocations: 123.6 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.8551, allocations: 63.78 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.8552, allocations: 19.94 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.8553, allocations: 35.84 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.8553, allocations: 31.84 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.8554, allocations: 8 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.8555, allocations: 91.91 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.8556, allocations: 15.92 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.8556, allocations: 39.84 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.8559, allocations: 139.2 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8559, allocations: 0 / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8559, allocations: 0 / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8559, allocations: 0 / 1.222 GB, free: 15.45 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.000541/0.8564, allocations: 450.4 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.8565, allocations: 8.625 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.8565, allocations: 30.75 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.8566, allocations: 8.891 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.8567, allocations: 176.3 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.8567, allocations: 12.36 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.8567, allocations: 12.25 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.8569, allocations: 69.72 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.8569, allocations: 0 / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8569, allocations: 8 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.857, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.8571, allocations: 35.97 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.8575, allocations: 296.8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8577, allocations: 50.48 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.8578, allocations: 32.97 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.8578, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.858, allocations: 83.38 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.858, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.8584, allocations: 129.6 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8585, allocations: 59.34 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.8586, allocations: 125.8 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.8586, allocations: 29.7 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.8587, allocations: 92.14 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.8587, allocations: 19.95 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.8588, allocations: 25.72 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.8589, allocations: 322.8 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.8589, allocations: 23.98 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.859, allocations: 61.12 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.8592, allocations: 85.08 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8592, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002499/0.8595, allocations: 117.5 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.8595, allocations: 4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8595, allocations: 7.938 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8595, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.8596, allocations: 19.92 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8596, allocations: 0 / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.8597, allocations: 16.08 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.8597, allocations: 8 kB / 1.225 GB, free: 12.79 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 0.0001112/0.8599, allocations: 130.3 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.8599, allocations: 3.953 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.8599, allocations: 12.38 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8599, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.86, allocations: 4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.86, allocations: 3.984 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.8605, allocations: 378.4 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8605, allocations: 0 / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.8605, allocations: 4 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8606, allocations: 0 / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.8606, allocations: 7.938 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8606, allocations: 11.88 kB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8606, allocations: 0 / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.8609, allocations: 207.9 kB / 1.225 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.861, allocations: 85 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.861, allocations: 4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.8611, allocations: 7.922 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.8612, allocations: 8 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.8612, allocations: 7.984 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.8612, allocations: 91.27 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8613, allocations: 0 / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003233/0.8616, allocations: 35.94 kB / 1.226 GB, free: 11.7 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.0009477/0.8625, allocations: 0.8089 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8628, allocations: 71.91 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8628, allocations: 0 / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.8629, allocations: 43.89 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.8632, allocations: 15.88 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.8648, allocations: 1.506 MB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.8651, allocations: 0.6885 MB / 1.229 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.8651, allocations: 8.078 kB / 1.229 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.8652, allocations: 23.42 kB / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/0.8652, allocations: 0 / 1.229 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.8832, allocations: 2.637 MB / 1.231 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.635, allocations: 13.34 kB / 1.231 GB, free: 5.895 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_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