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.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.008799/0.008799, allocations: 98.31 kB / 15.73 MB, free: 5.555 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.001631/0.001631, allocations: 196.2 kB / 16.68 MB, free: 5.484 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.471/2.471, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.67 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2749, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002998/0.278, allocations: 1.492 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2793, allocations: 0.7258 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.2794, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.2794, allocations: 3.938 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.2795, allocations: 23.84 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.28, allocations: 107.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2801, allocations: 75.75 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.2802, allocations: 15.98 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.034e-05/0.2803, allocations: 27.92 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.2804, allocations: 35.84 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2804, allocations: 8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.2806, allocations: 95.84 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.2806, allocations: 19.91 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.2807, allocations: 31.86 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2809, allocations: 131.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2809, allocations: 3.984 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2809, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2809, allocations: 0 / 1.091 GB, free: 14.68 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.0005868/0.2815, allocations: 450.4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2815, allocations: 8.031 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2816, allocations: 8.891 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2817, allocations: 188.1 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2818, allocations: 384 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2818, allocations: 4.375 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.282, allocations: 73.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.282, allocations: 3.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.282, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.282, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.2822, allocations: 39.97 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.2827, allocations: 304.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2828, allocations: 50.56 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.2829, allocations: 36.97 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.283, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.2832, allocations: 75.38 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.2832, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004168/0.2836, allocations: 137.6 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2837, allocations: 59.39 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.2838, allocations: 121.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2838, allocations: 29.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.2839, allocations: 92.12 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2839, allocations: 15.84 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.2839, allocations: 29.7 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2841, allocations: 318.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.2842, allocations: 23.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2843, allocations: 65.12 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2845, allocations: 93.02 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2845, allocations: 3.938 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/0.2847, allocations: 113.5 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2848, allocations: 7.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2848, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2848, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.2849, allocations: 12.16 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2849, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.285, allocations: 11.94 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.285, allocations: 4 kB / 1.093 GB, free: 12.05 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 8.676e-05/0.2851, allocations: 127.5 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2851, allocations: 11.94 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.2852, allocations: 4.375 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2852, allocations: 7.984 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2852, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2852, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.2856, allocations: 390.6 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2857, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.2857, allocations: 4 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2857, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2857, allocations: 3.984 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2857, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2857, allocations: 7.875 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.286, allocations: 207.5 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.2861, allocations: 81.06 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2861, allocations: 7.984 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.2862, allocations: 4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.2863, allocations: 15.86 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2863, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.2863, allocations: 99.27 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2863, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003039/0.2867, allocations: 39.88 kB / 1.094 GB, free: 10.96 MB / 0.8575 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.0003045/0.287, allocations: 153 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2872, allocations: 71.89 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2872, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.2873, allocations: 31.98 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2876, allocations: 15.98 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.288, allocations: 184.8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2882, allocations: 0.6927 MB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.2883, allocations: 7.75 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.2883, allocations: 19.42 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.2883, allocations: 0 / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of Templates: time 0.00385/0.2922, allocations: 1.436 MB / 1.096 GB, free: 8.312 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,bli.t0,occ.startTime,occ.startValue,occ.y,time