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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001719/0.001719, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 60.09 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/0.5665, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002913/0.5694, allocations: 1.558 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.5707, allocations: 0.7324 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.5707, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.5708, allocations: 3.938 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.5709, allocations: 15.86 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.5714, allocations: 99.77 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.5715, allocations: 59.84 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.5716, allocations: 15.98 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/0.5717, allocations: 31.86 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.5718, allocations: 31.83 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.5719, allocations: 4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.5721, allocations: 91.91 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.5721, allocations: 11.92 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.5722, allocations: 31.86 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.5724, allocations: 133.9 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5724, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5725, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.5725, allocations: 0 / 1.019 GB, free: 15.98 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.0006758/0.5731, allocations: 446.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5732, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.5732, allocations: 38.73 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.5733, allocations: 4.844 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5734, allocations: 172.2 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.5735, allocations: 16.31 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.5735, allocations: 4.375 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.5737, allocations: 73.75 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5737, allocations: 7.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.5737, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5737, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.5739, allocations: 39.95 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.5744, allocations: 296.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.5746, allocations: 50.55 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.5746, allocations: 32.91 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5747, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.5749, allocations: 79.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.5749, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003957/0.5753, allocations: 137.6 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.5754, allocations: 51.41 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.5755, allocations: 121.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5755, allocations: 33.64 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.5755, allocations: 92.14 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5756, allocations: 15.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.5756, allocations: 25.72 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5757, allocations: 322.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.5758, allocations: 23.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.5759, allocations: 57.58 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.5761, allocations: 89.06 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5761, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002307/0.5763, allocations: 117.4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5764, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.5764, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5764, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.5765, allocations: 27.92 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5765, allocations: 320 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.5766, allocations: 11.84 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.5766, allocations: 12.14 kB / 1.022 GB, free: 13.32 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 9.697e-05/0.5767, allocations: 129.1 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.5767, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.5767, allocations: 8.375 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5768, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5768, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5768, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.5772, allocations: 386.4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5773, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.5773, allocations: 7.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5773, allocations: 3.938 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5773, allocations: 8 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5773, allocations: 3.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5774, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.5777, allocations: 211.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.5777, allocations: 85.05 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.5777, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.5778, allocations: 11.92 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.5779, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5779, allocations: 7.984 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.578, allocations: 91.44 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.578, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003269/0.5783, allocations: 39.98 kB / 1.023 GB, free: 12.24 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.0008761/0.5792, allocations: 0.8035 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.5794, allocations: 67.91 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5794, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5795, allocations: 39.91 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5798, allocations: 15.88 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.5814, allocations: 1.513 MB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5817, allocations: 0.6926 MB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.5817, allocations: 4 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.5818, allocations: 23.42 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.5818, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1907/0.7725, allocations: 2.406 MB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/0.7728, allocations: 250.7 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.611, allocations: 8.062 kB / 1.028 GB, free: 6.395 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