Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_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.001275/0.001275, 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.001374/0.001374, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 67.89 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.548, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002307/0.5504, allocations: 1.552 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.5513, allocations: 0.7247 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.5514, allocations: 3.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.5514, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.5515, allocations: 7.875 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.5519, allocations: 107.8 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.552, allocations: 63.78 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.5521, allocations: 23.97 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.5522, allocations: 31.92 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.5522, allocations: 35.84 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.5522, allocations: 4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.5524, allocations: 91.84 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.5524, allocations: 19.91 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.5525, allocations: 31.86 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.5527, allocations: 133.9 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5527, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5527, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5527, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 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.0004847/0.5532, allocations: 454.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.5532, allocations: 8.031 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.5533, allocations: 30.75 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.5533, allocations: 12.78 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.5534, allocations: 168.3 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5534, allocations: 16.36 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.5534, allocations: 8.312 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.5536, allocations: 69.77 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.5536, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5536, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.5536, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.5538, allocations: 39.91 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5542, allocations: 300.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.5543, allocations: 54.48 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.5544, allocations: 28.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.5544, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.5546, allocations: 79.38 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.5546, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003579/0.555, allocations: 141.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.555, allocations: 55.47 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.5551, allocations: 117.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.5551, allocations: 29.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.5552, allocations: 92.12 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.5552, allocations: 19.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.5552, allocations: 25.72 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.5553, allocations: 322.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.5554, allocations: 23.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.5555, allocations: 57.12 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5556, allocations: 89.08 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5556, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002017/0.5559, allocations: 121.4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5559, allocations: 5.875 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5559, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.5559, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.556, allocations: 15.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.556, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.5561, allocations: 19.83 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5561, allocations: 12.09 kB / 1.022 GB, free: 13.24 MB / 0.7794 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.359e-05/0.5562, allocations: 126.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.5562, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.5562, allocations: 8.375 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5562, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5562, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5562, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.5566, allocations: 382.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5566, allocations: 3.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.5567, allocations: 7.938 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5567, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5567, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5567, allocations: 3.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5567, allocations: 3.984 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.557, allocations: 199.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.557, allocations: 88.95 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.557, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.5571, allocations: 11.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.5572, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.5572, allocations: 7.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.5572, allocations: 91.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5572, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002754/0.5575, allocations: 36 kB / 1.023 GB, free: 12.16 MB / 0.7794 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.0006599/0.5582, allocations: 0.8046 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.5584, allocations: 71.89 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5584, allocations: 7.875 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.5585, allocations: 43.91 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.5588, allocations: 15.78 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5601, allocations: 1.503 MB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.5603, allocations: 0.6923 MB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.5603, allocations: 4 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.5604, allocations: 27.42 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5604, allocations: 0 / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.606/2.166, allocations: 2.471 MB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/2.167, allocations: 261.9 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/4.652, allocations: 4 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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