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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, 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.002069/0.002069, allocations: 195.8 kB / 16.14 MB, free: 6.68 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.56/1.56, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.797/2.797, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 63.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7776, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003063/0.7807, allocations: 1.542 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.782, allocations: 0.7401 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.7821, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.7821, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.7822, allocations: 19.84 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.7827, allocations: 95.72 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7828, allocations: 71.84 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.7829, allocations: 15.91 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.783, allocations: 31.86 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.7831, allocations: 35.83 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.7831, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.7833, allocations: 87.91 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.7834, allocations: 19.86 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.7834, allocations: 31.86 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.7837, allocations: 129.7 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7837, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7837, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.7837, allocations: 0 / 1.019 GB, free: 15.92 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.0007139/0.7844, allocations: 448.9 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7845, allocations: 8.031 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.7845, allocations: 8.844 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.7847, allocations: 172.2 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.7847, allocations: 12.38 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7848, allocations: 384 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.785, allocations: 77.89 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.785, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.785, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7851, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.7852, allocations: 39.95 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.7858, allocations: 292.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.786, allocations: 50.48 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7861, allocations: 32.97 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.7861, allocations: 3.938 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.7864, allocations: 83.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7864, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004657/0.7868, allocations: 133.6 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.7869, allocations: 59.34 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.7871, allocations: 121.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.7871, allocations: 33.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.7872, allocations: 88.14 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.7872, allocations: 19.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.7873, allocations: 25.72 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7874, allocations: 322.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.7875, allocations: 27.98 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7876, allocations: 61.14 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.7878, allocations: 85.06 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7878, allocations: 0 / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002481/0.7881, allocations: 117.4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7881, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7881, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7882, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.7883, allocations: 19.92 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.7883, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.7883, allocations: 12 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.7884, allocations: 11.98 kB / 1.022 GB, free: 13.31 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 0.0001251/0.7885, allocations: 117.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.7885, allocations: 7.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.7886, allocations: 8.375 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7886, allocations: 7.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7886, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7886, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.7891, allocations: 382.4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7891, allocations: 48 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.7892, allocations: 15.97 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7892, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7892, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.7892, allocations: 3.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7892, allocations: 3.938 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.7896, allocations: 211.4 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.7896, allocations: 81.05 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.7896, allocations: 0 / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.7897, allocations: 7.984 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.7898, allocations: 11.94 kB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.7898, allocations: 3.984 kB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.7899, allocations: 91.28 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7899, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000318/0.7902, allocations: 39.98 kB / 1.023 GB, free: 12.23 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.0003899/0.7906, allocations: 168.4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.7909, allocations: 75.83 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7909, allocations: 320 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.791, allocations: 39.97 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.7913, allocations: 10.25 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.7918, allocations: 202.5 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.7921, allocations: 0.6926 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.7922, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.7922, allocations: 11.44 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7922, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.004572/0.7968, allocations: 1.36 MB / 1.025 GB, free: 9.633 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (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 & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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,bli.t0,occ.startTime,occ.startValue,occ.y,time