Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001352/0.001352, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.09 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6833, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002248/0.6856, allocations: 1.493 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.6866, allocations: 0.7272 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.6867, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.6867, allocations: 4.641 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.6868, allocations: 15.7 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.6873, allocations: 118.6 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.6874, allocations: 70.83 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.6875, allocations: 11.61 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.6876, allocations: 37.19 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.6876, allocations: 30.59 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.6877, allocations: 9.906 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.6878, allocations: 92.64 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.6879, allocations: 15.03 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.6879, allocations: 31.56 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.6882, allocations: 144.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6882, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6882, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6882, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 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.0004677/0.6887, allocations: 449 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.6887, allocations: 9.328 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.6888, allocations: 8.5 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.055e-05/0.6888, allocations: 174.5 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.6889, allocations: 6.766 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.6889, allocations: 4.062 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6891, allocations: 73.53 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6891, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6891, allocations: 1.516 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6891, allocations: 4.812 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.6893, allocations: 40.08 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.6897, allocations: 298.2 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.6898, allocations: 49.66 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.6899, allocations: 36.59 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.6899, allocations: 1.594 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.6901, allocations: 72.92 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.6901, allocations: 0 / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003863/0.6905, allocations: 136.8 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.6905, allocations: 58.67 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.6906, allocations: 122.8 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.6906, allocations: 30.48 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.6906, allocations: 96.22 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.6907, allocations: 12.86 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.992e-05/0.6907, allocations: 28.08 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.6907, allocations: 323.4 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.6908, allocations: 21.06 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.6909, allocations: 67.17 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.6911, allocations: 91.11 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6911, allocations: 0.7812 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002171/0.6913, allocations: 117.3 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6913, allocations: 5.547 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6913, allocations: 2 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6913, allocations: 2.375 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.6914, allocations: 19.64 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6915, allocations: 2.406 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.6915, allocations: 18.03 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6915, allocations: 4.578 kB / 1.094 GB, free: 1.691 MB / 0.8575 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 6.418e-05/0.6916, allocations: 126.6 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.6916, allocations: 7.672 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.6917, allocations: 9.828 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.6917, allocations: 1.859 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6917, allocations: 4 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.6917, allocations: 79.73 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.6917, allocations: 2.406 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.6918, allocations: 8.469 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.6918, allocations: 8.016 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002673/0.6921, allocations: 179.6 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002595/0.6924, allocations: 294.2 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.614e-05/0.6925, allocations: 34.17 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.6925, allocations: 95.95 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Backend: time 3e-07/0.6925, allocations: 0.8438 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006085/0.6931, allocations: 186.4 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003376/0.6935, allocations: 0.6196 MB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of Templates: time 0.004157/0.6977, allocations: 1.43 MB / 1.097 GB, free: 128 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,bli.t0,occ.startTime,occ.startValue,occ.y,time