Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001265/0.001265, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001176/0.001176, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.06 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002699/0.2855, allocations: 1.495 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2869, allocations: 0.7245 MB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2869, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.287, allocations: 7.922 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.2871, allocations: 15.86 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.2876, allocations: 115.6 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2878, allocations: 71.78 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2879, allocations: 12 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.288, allocations: 39.78 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.288, allocations: 35.84 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2881, allocations: 4 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.2883, allocations: 91.91 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.2883, allocations: 15.92 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2884, allocations: 31.86 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2886, allocations: 143.8 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2886, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2886, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.2886, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 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.0005905/0.2892, allocations: 442.7 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2893, allocations: 8.031 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.2893, allocations: 8.844 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2895, allocations: 180.2 kB / 1.068 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.2895, allocations: 4.375 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.2895, allocations: 8.312 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.2897, allocations: 73.97 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2897, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2898, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2898, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2899, allocations: 43.91 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.2904, allocations: 296.8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2905, allocations: 46.56 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.2906, allocations: 36.97 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2907, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.2908, allocations: 83.31 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2909, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.2913, allocations: 133.6 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2913, allocations: 63.39 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.2914, allocations: 113.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2914, allocations: 29.7 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.2915, allocations: 96.03 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2915, allocations: 19.75 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.2916, allocations: 29.7 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2917, allocations: 318.8 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.2918, allocations: 23.98 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.2919, allocations: 65.06 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.292, allocations: 89.08 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2921, allocations: 0 / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.2923, allocations: 113.5 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2923, allocations: 4 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2923, allocations: 7.922 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2923, allocations: 4 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.2924, allocations: 19.88 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2924, allocations: 4 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.2925, allocations: 11.89 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2925, allocations: 4.156 kB / 1.069 GB, free: 9.586 MB / 0.8419 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 9.077e-05/0.2926, allocations: 129.7 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.872e-05/0.2927, allocations: 7.953 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.2927, allocations: 8.359 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2927, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2927, allocations: 3.984 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2927, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.2932, allocations: 390.7 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2932, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.2932, allocations: 4 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2932, allocations: 0 / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2932, allocations: 3.984 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2932, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2933, allocations: 3.938 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.2936, allocations: 211.4 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2936, allocations: 81.02 kB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2936, allocations: 7.984 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.2937, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2938, allocations: 15.91 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2938, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.2939, allocations: 95.92 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.2939, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000305/0.2942, allocations: 36 kB / 1.07 GB, free: 8.5 MB / 0.8419 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.0003446/0.2945, allocations: 164.6 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.2948, allocations: 71.88 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2948, allocations: 3.938 kB / 1.07 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2949, allocations: 40.3 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2952, allocations: 7.984 kB / 1.07 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.2956, allocations: 206.7 kB / 1.071 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2959, allocations: 0.6938 MB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.2959, allocations: 15.38 kB / 1.071 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of SimCode: time 5.51e-07/0.296, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of Templates: time 0.003564/0.2995, allocations: 1.578 MB / 1.073 GB, free: 5.68 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches