Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001496/0.001496, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5531, allocations: 140.4 MB / 0.949 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002151/0.5553, allocations: 1.538 MB / 0.9506 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.5563, allocations: 0.7279 MB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.5563, allocations: 4.469 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.5564, allocations: 4.688 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.5564, allocations: 13.3 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.5568, allocations: 101 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.5569, allocations: 68.47 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.557, allocations: 17.38 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.5571, allocations: 25.05 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.5571, allocations: 33.25 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.5572, allocations: 8.031 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.5573, allocations: 89.12 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.5573, allocations: 18.69 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.5574, allocations: 28.77 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.5576, allocations: 135.9 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5576, allocations: 0 / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5576, allocations: 5.312 kB / 0.9518 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.5576, allocations: 0 / 0.9518 GB, free: 7.062 MB / 0.7169 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.0004216/0.558, allocations: 443.9 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5581, allocations: 13.94 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.5581, allocations: 35.94 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.5581, allocations: 4.75 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.505e-05/0.5582, allocations: 176.1 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5582, allocations: 6.562 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.5582, allocations: 8.812 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5584, allocations: 67.5 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5584, allocations: 0 / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5584, allocations: 1.344 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5584, allocations: 1.312 kB / 0.9525 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.5586, allocations: 48.36 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.5589, allocations: 305.2 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.559, allocations: 47.25 kB / 0.9529 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.5591, allocations: 32.41 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.5591, allocations: 1.031 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.5593, allocations: 85.88 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5593, allocations: 0 / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003483/0.5597, allocations: 138.8 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.5597, allocations: 52.91 kB / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.5598, allocations: 116.7 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.5598, allocations: 26.92 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.5598, allocations: 103.2 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.5598, allocations: 10.53 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5599, allocations: 30.11 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.5599, allocations: 320.1 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.56, allocations: 28.81 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.5601, allocations: 57.8 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5602, allocations: 92.94 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5602, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000188/0.5604, allocations: 117.1 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5604, allocations: 8.125 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5604, allocations: 0.9062 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5605, allocations: 2.375 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.5605, allocations: 13.47 kB / 0.9541 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5606, allocations: 6.109 kB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.5606, allocations: 7.812 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.5606, allocations: 16.34 kB / 0.9541 GB, free: 4.801 MB / 0.7169 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 5.301e-05/0.5607, allocations: 119.2 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.5607, allocations: 10.75 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.5607, allocations: 14.33 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5607, allocations: 1.219 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5608, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5608, allocations: 4.938 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.5611, allocations: 385.2 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5611, allocations: 0 / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.5612, allocations: 3.438 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5612, allocations: 1.031 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5612, allocations: 5.297 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5612, allocations: 3.938 kB / 0.9546 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5612, allocations: 1.594 kB / 0.9546 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5614, allocations: 208.1 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.5614, allocations: 91.31 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5615, allocations: 0 / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.5616, allocations: 6.719 kB / 0.9549 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.5616, allocations: 6.859 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.5616, allocations: 2.625 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.5616, allocations: 92.67 kB / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5617, allocations: 0 / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002856/0.5619, allocations: 36.56 kB / 0.9551 GB, free: 3.898 MB / 0.7169 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.000554/0.5625, allocations: 0.8006 MB / 0.9558 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5627, allocations: 84.36 kB / 0.9559 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5627, allocations: 5.062 kB / 0.9559 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.5628, allocations: 32.14 kB / 0.956 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5631, allocations: 17.62 kB / 0.956 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.5642, allocations: 1.507 MB / 0.9574 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.899e-05/0.5643, allocations: 0.6844 MB / 0.9581 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.5644, allocations: 12.08 kB / 0.9581 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.5644, allocations: 18.06 kB / 0.9581 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.5644, allocations: 0 / 0.9581 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8252/1.39, allocations: 2.409 MB / 0.9605 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/1.39, allocations: 256.6 kB / 0.9607 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.919, allocations: 7.5 kB / 0.9607 GB, free: 15.47 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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