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.0008822/0.0008822, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00538/0.00538, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.132/2.132, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.000509, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5829, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001208/0.5842, allocations: 1.207 MB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.5851, allocations: 0.7132 MB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.5851, allocations: 9.188 kB / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.5851, allocations: 0 / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.5852, allocations: 10.16 kB / 0.9571 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.5855, allocations: 95.98 kB / 0.9571 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.5856, allocations: 72.97 kB / 0.9572 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.5857, allocations: 13.38 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.5858, allocations: 32.78 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.5858, allocations: 37.03 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.5858, allocations: 3.594 kB / 0.9573 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.586, allocations: 83.69 kB / 0.9574 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.586, allocations: 12.48 kB / 0.9574 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.586, allocations: 57.84 kB / 0.9574 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.5862, allocations: 127.7 kB / 0.9576 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5862, allocations: 3.938 kB / 0.9576 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5862, allocations: 0 / 0.9576 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.5862, allocations: 5 kB / 0.9576 GB, free: 5.887 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.0003788/0.5866, allocations: 434.9 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5867, allocations: 9.594 kB / 0.958 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.5867, allocations: 35.66 kB / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.5867, allocations: 8.562 kB / 0.958 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.265e-05/0.5868, allocations: 179.2 kB / 0.9582 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.5868, allocations: 8.141 kB / 0.9582 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.5868, allocations: 6.875 kB / 0.9582 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.587, allocations: 74.78 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.587, allocations: 1.344 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.587, allocations: 0 / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.587, allocations: 1.312 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.5872, allocations: 45.72 kB / 0.9583 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.5875, allocations: 297.9 kB / 0.9586 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5876, allocations: 51.95 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.5877, allocations: 34 kB / 0.9587 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.5877, allocations: 5.25 kB / 0.9587 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5879, allocations: 84.31 kB / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.5879, allocations: 0 / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003445/0.5883, allocations: 148 kB / 0.9589 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.5883, allocations: 57.44 kB / 0.959 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.082e-05/0.5884, allocations: 128.1 kB / 0.9591 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5884, allocations: 30.86 kB / 0.9591 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.5884, allocations: 91.48 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.5884, allocations: 18.98 kB / 0.9593 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.5885, allocations: 17.31 kB / 0.9593 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.5885, allocations: 324.3 kB / 0.9596 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.5886, allocations: 31.14 kB / 0.9596 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.5886, allocations: 56.64 kB / 0.9597 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.5888, allocations: 99.03 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5888, allocations: 0 / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002008/0.589, allocations: 125.7 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.589, allocations: 5.5 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.589, allocations: 2.828 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.589, allocations: 1.375 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.5891, allocations: 22.92 kB / 0.9599 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5891, allocations: 9.516 kB / 0.9599 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.5892, allocations: 9.438 kB / 0.9599 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.5892, allocations: 4.125 kB / 0.9599 GB, free: 3.629 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.439e-05/0.5893, allocations: 123.3 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.5893, allocations: 8.031 kB / 0.9601 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.5893, allocations: 9.75 kB / 0.9601 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5893, allocations: 0 / 0.9601 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5893, allocations: 1.375 kB / 0.9601 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.5893, allocations: 4 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.5897, allocations: 383 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5897, allocations: 0 / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.5897, allocations: 9.484 kB / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5897, allocations: 0 / 0.9604 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.5897, allocations: 5.375 kB / 0.9604 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5897, allocations: 7.938 kB / 0.9605 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5898, allocations: 1.375 kB / 0.9605 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.59, allocations: 217 kB / 0.9607 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.59, allocations: 91.64 kB / 0.9607 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.59, allocations: 1.375 kB / 0.9608 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.5901, allocations: 20.05 kB / 0.9608 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.5902, allocations: 6.75 kB / 0.9608 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.5902, allocations: 5.359 kB / 0.9608 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.5902, allocations: 88.91 kB / 0.9609 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5902, allocations: 0 / 0.9609 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002621/0.5905, allocations: 40.86 kB / 0.9609 GB, free: 2.711 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.0005326/0.591, allocations: 0.8073 MB / 0.9617 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.5912, allocations: 78.56 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5912, allocations: 0 / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-05/0.5913, allocations: 35.02 kB / 0.9618 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.5916, allocations: 16.73 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.5927, allocations: 1.536 MB / 0.9633 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.5928, allocations: 0.6882 MB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.5929, allocations: 3.219 kB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.5929, allocations: 22.73 kB / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5929, allocations: 3.938 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.811/2.403, allocations: 2.31 MB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/2.404, allocations: 261.5 kB / 0.9665 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/4.691, allocations: 3.938 kB / 0.9665 GB, free: 14.39 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