Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_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.001485/0.001485, 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.001777/0.001777, allocations: 194.5 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 1.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.444/2.444, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4928, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00238/0.4952, allocations: 1.554 MB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4963, allocations: 0.7168 MB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.4964, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.4964, allocations: 7.922 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.4965, allocations: 7.922 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.4969, allocations: 103.8 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.497, allocations: 75.77 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.4971, allocations: 12 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.4972, allocations: 31.91 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.4973, allocations: 35.83 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.4973, allocations: 8 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.4975, allocations: 91.84 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.4975, allocations: 20 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.4975, allocations: 31.86 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.4977, allocations: 137.9 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4978, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4978, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.4978, allocations: 0 / 1.02 GB, free: 15.83 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.0005061/0.4983, allocations: 447.9 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4983, allocations: 15.95 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.4984, allocations: 34.75 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.4984, allocations: 8.844 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.4985, allocations: 176.3 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4985, allocations: 4.375 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.4985, allocations: 8.359 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4987, allocations: 77.75 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4987, allocations: 3.938 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4988, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4988, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4989, allocations: 35.97 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.4993, allocations: 296.7 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.4995, allocations: 58.48 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.4995, allocations: 28.97 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.4996, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.4998, allocations: 75.38 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.4998, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003577/0.5001, allocations: 137.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.5002, allocations: 59.41 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.5003, allocations: 125.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.5003, allocations: 25.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.5003, allocations: 96.14 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.5003, allocations: 11.8 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.5004, allocations: 25.72 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.5005, allocations: 326.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.5005, allocations: 19.98 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.5006, allocations: 65.12 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.5008, allocations: 89.02 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5008, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002085/0.501, allocations: 117.4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.501, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.501, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5011, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.5011, allocations: 19.92 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.5012, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.5012, allocations: 19.98 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5012, allocations: 4 kB / 1.022 GB, free: 13.17 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.823e-05/0.5013, allocations: 130.2 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5013, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.5014, allocations: 8.375 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5014, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5014, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5014, allocations: 3.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.5018, allocations: 390.3 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5018, allocations: 3.984 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.5019, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5019, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.5019, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5019, allocations: 3.938 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5019, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.5022, allocations: 203.5 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.5022, allocations: 88.95 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.5022, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.5023, allocations: 7.922 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5024, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5024, allocations: 7.984 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.5024, allocations: 91.22 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5024, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002796/0.5027, allocations: 43.98 kB / 1.023 GB, free: 12.08 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.0006966/0.5034, allocations: 0.8112 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.5036, allocations: 67.95 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5037, allocations: 3.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.5038, allocations: 35.97 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.504, allocations: 12.03 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5054, allocations: 1.511 MB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.5056, allocations: 0.6885 MB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.5057, allocations: 8 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.5057, allocations: 23.42 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5057, allocations: 0 / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3457/0.8514, allocations: 2.467 MB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.8517, allocations: 265.4 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.82, allocations: 64 / 1.029 GB, free: 6.195 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time