Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_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.008232/0.008233, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001946/0.001946, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8219, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002872/0.8248, allocations: 1.491 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.8261, allocations: 0.7265 MB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.8262, allocations: 4.812 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.8262, allocations: 5.25 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.136e-05/0.8263, allocations: 11.2 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.8269, allocations: 118.8 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.827, allocations: 70.53 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8271, allocations: 15.11 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.8272, allocations: 39.05 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.8273, allocations: 29.2 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.8273, allocations: 5.469 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.8275, allocations: 97.28 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.8276, allocations: 15.44 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.8276, allocations: 31.69 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.8279, allocations: 132.9 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8279, allocations: 0.9688 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8279, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.828, allocations: 0 / 1.09 GB, free: 3.52 MB / 0.8575 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.0005757/0.8285, allocations: 455.7 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.8286, allocations: 9.406 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.8286, allocations: 34.08 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.8287, allocations: 7.781 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.8288, allocations: 174.4 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.8288, allocations: 6.562 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.8288, allocations: 5.25 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.8291, allocations: 76.91 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.8291, allocations: 4 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8291, allocations: 0.5625 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8291, allocations: 1.094 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.8293, allocations: 35.72 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.8298, allocations: 296.1 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.83, allocations: 53.36 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.8301, allocations: 36.39 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.8301, allocations: 1.094 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.8304, allocations: 82.33 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.8304, allocations: 0 / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004419/0.8308, allocations: 135.5 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8309, allocations: 59.17 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.8309, allocations: 122.1 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.831, allocations: 27.44 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.831, allocations: 95.95 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.831, allocations: 19.8 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.8311, allocations: 28.98 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.8311, allocations: 323.4 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.8312, allocations: 24.95 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.8313, allocations: 59.75 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8315, allocations: 91.61 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8315, allocations: 0 / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.8317, allocations: 108.7 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.8318, allocations: 5.969 kB / 1.092 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8318, allocations: 5.641 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8318, allocations: 3.438 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.8319, allocations: 19.06 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8319, allocations: 3.141 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.832, allocations: 13.27 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.832, allocations: 4.078 kB / 1.092 GB, free: 1.406 MB / 0.8575 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 7.281e-05/0.8321, allocations: 124.6 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.8321, allocations: 11.09 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.8321, allocations: 11.19 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8321, allocations: 1.469 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8322, allocations: 0 / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8322, allocations: 1.422 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.8326, allocations: 377.6 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8326, allocations: 0.7969 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.8326, allocations: 4.766 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8326, allocations: 0.875 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.8327, allocations: 6.203 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8327, allocations: 9.484 kB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8327, allocations: 0 / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.833, allocations: 206.6 kB / 1.093 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.833, allocations: 87.53 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.833, allocations: 2.312 kB / 1.093 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.8331, allocations: 16.31 kB / 1.093 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.8332, allocations: 4.922 kB / 1.093 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.8332, allocations: 7.109 kB / 1.093 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.8333, allocations: 92.77 kB / 1.093 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8333, allocations: 0 / 1.093 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003392/0.8336, allocations: 38.33 kB / 1.093 GB, free: 0.5547 MB / 0.8575 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.0008171/0.8344, allocations: 0.8055 MB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.8347, allocations: 70.61 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8347, allocations: 1.156 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.8349, allocations: 44.95 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.8351, allocations: 13.38 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.8368, allocations: 1.505 MB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.837, allocations: 0.6903 MB / 1.096 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.8371, allocations: 12.72 kB / 1.096 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.8371, allocations: 21.03 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.8371, allocations: 0.7188 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.8582, allocations: 2.634 MB / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/8.451, allocations: 5.422 kB / 1.099 GB, free: 13.23 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_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