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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001948/0.001948, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003177/0.003177, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.204/2.204, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.333/4.333, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 62.5 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5111, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003481/0.5147, allocations: 1.558 MB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.5162, allocations: 0.7283 MB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.5163, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.5163, allocations: 7.938 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.5164, allocations: 7.922 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.5171, allocations: 103.8 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.5172, allocations: 71.78 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.5173, allocations: 15.97 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.5174, allocations: 31.92 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.5175, allocations: 35.83 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.5175, allocations: 4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.5178, allocations: 103.8 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.5178, allocations: 15.92 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.5179, allocations: 31.86 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.5182, allocations: 127.9 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5182, allocations: 4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5182, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.5182, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 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.0006604/0.5189, allocations: 442.7 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5189, allocations: 16.62 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.519, allocations: 30.75 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.519, allocations: 12.78 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.5192, allocations: 176.2 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.5192, allocations: 4.375 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.5192, allocations: 4.375 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.5195, allocations: 77.7 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5195, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5195, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5195, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.5197, allocations: 47.97 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.5203, allocations: 296.7 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.5205, allocations: 42.56 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.5206, allocations: 36.97 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.5206, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.5208, allocations: 83.31 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.5209, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005183/0.5214, allocations: 133.8 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5214, allocations: 59.39 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5216, allocations: 117.8 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.5216, allocations: 37.64 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.5217, allocations: 95.97 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5217, allocations: 11.91 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.5218, allocations: 25.7 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5219, allocations: 318.8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.89e-05/0.522, allocations: 23.98 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.5222, allocations: 69.06 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.5224, allocations: 89.08 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5224, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003083/0.5227, allocations: 117.4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5227, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5228, allocations: 3.984 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5228, allocations: 7.938 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5229, allocations: 12.16 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5229, allocations: 12 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.523, allocations: 15.89 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.523, allocations: 4 kB / 1.058 GB, free: 3.148 MB / 0.8106 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.0001094/0.5232, allocations: 125 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.5232, allocations: 7.906 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.5232, allocations: 8.375 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5232, allocations: 4 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5233, allocations: 7.984 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5233, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.5238, allocations: 378.4 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5238, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.5239, allocations: 4.047 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.5239, allocations: 3.984 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5239, allocations: 7.984 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.524, allocations: 3.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.524, allocations: 4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.5243, allocations: 207.4 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.5244, allocations: 77.11 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.5244, allocations: 3.984 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.5246, allocations: 7.938 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.5246, allocations: 11.98 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.5246, allocations: 4 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.5247, allocations: 95.92 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5247, allocations: 0 / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004446/0.5252, allocations: 39.91 kB / 1.058 GB, free: 2.07 MB / 0.8106 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.0009438/0.5261, allocations: 0.7996 MB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.5264, allocations: 71.83 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5265, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.5266, allocations: 35.98 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.527, allocations: 16.25 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.5289, allocations: 1.513 MB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5292, allocations: 0.6961 MB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.5293, allocations: 7.984 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.5293, allocations: 19.44 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.5293, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3667/0.896, allocations: 2.494 MB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005188/0.8966, allocations: 268.8 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/5.076, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time