Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001891/0.001891, allocations: 105 kB / 15.98 MB, free: 5.891 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.002161/0.002162, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.05 kB / 0.9087 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 159.2 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002968/0.2842, allocations: 1.558 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2855, allocations: 0.7207 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.2856, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.2856, allocations: 3.938 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.2857, allocations: 7.922 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.2862, allocations: 107.8 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.2864, allocations: 67.78 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.2864, allocations: 15.98 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.2865, allocations: 27.92 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.2866, allocations: 35.83 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2866, allocations: 8 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2868, allocations: 95.84 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.2869, allocations: 19.92 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.2869, allocations: 27.86 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2871, allocations: 96.06 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2871, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.356e-06/0.2871, allocations: 3.984 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.2871, allocations: 7.938 kB / 1.067 GB, free: 11.82 MB / 0.8262 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.0006428/0.2878, allocations: 444.2 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2878, allocations: 8.031 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.2879, allocations: 8.844 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.288, allocations: 176.2 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2881, allocations: 4.375 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2881, allocations: 8.375 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2883, allocations: 73.97 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2883, allocations: 3.938 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2883, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2883, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2885, allocations: 39.97 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.289, allocations: 296.8 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2892, allocations: 50.56 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.2893, allocations: 36.91 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2893, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2895, allocations: 79.36 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.2895, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.29, allocations: 137.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.29, allocations: 59.39 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2901, allocations: 113.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.2902, allocations: 33.64 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.2903, allocations: 100.1 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2903, allocations: 15.75 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.2903, allocations: 29.7 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2905, allocations: 322.8 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.2906, allocations: 23.98 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.2907, allocations: 65.06 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.2909, allocations: 89.08 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2909, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.2911, allocations: 109.7 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2912, allocations: 11.98 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2912, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2912, allocations: 4.047 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.2913, allocations: 15.92 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2913, allocations: 4 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.2914, allocations: 11.89 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2914, allocations: 8 kB / 1.069 GB, free: 9.215 MB / 0.8262 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.000107/0.2915, allocations: 127.3 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2915, allocations: 7.906 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.2915, allocations: 8.375 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2916, allocations: 7.984 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2916, allocations: 7.875 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2916, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.2921, allocations: 374.5 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2921, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.2922, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2922, allocations: 4 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2922, allocations: 3.984 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2922, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.2922, allocations: 7.938 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.2925, allocations: 211.4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.2926, allocations: 81.02 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2926, allocations: 3.984 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.2927, allocations: 8 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2928, allocations: 11.92 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2928, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.2929, allocations: 103.2 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2929, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003227/0.2932, allocations: 32 kB / 1.07 GB, free: 8.133 MB / 0.8262 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.0003926/0.2936, allocations: 160.6 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.2939, allocations: 83.77 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2939, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.294, allocations: 32.45 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2943, allocations: 9.859 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.2947, allocations: 230.8 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2951, allocations: 0.6885 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.2951, allocations: 7.438 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2951, allocations: 8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of Templates: time 0.003677/0.2988, allocations: 1.578 MB / 1.073 GB, free: 5.293 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches