Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001564/0.001564, allocations: 107.2 kB / 16.27 MB, free: 6.109 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.001655/0.001655, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.526/2.526, allocations: 437.1 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.56 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002705/0.299, allocations: 1.491 MB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3002, allocations: 0.7298 MB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.3003, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.3003, allocations: 7.875 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.3004, allocations: 15.86 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.3009, allocations: 123.6 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.301, allocations: 63.83 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.3011, allocations: 8 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.3012, allocations: 39.84 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.3013, allocations: 39.83 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3013, allocations: 8 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.3015, allocations: 91.91 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.3015, allocations: 15.92 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.3016, allocations: 31.86 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3018, allocations: 131.8 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3018, allocations: 4 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3018, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3018, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 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.0006133/0.3025, allocations: 444.8 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3025, allocations: 12.03 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.3026, allocations: 12.83 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3027, allocations: 168.2 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.3027, allocations: 4.375 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.3027, allocations: 8.375 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3029, allocations: 73.91 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.303, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.303, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.303, allocations: 7.938 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3031, allocations: 39.95 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.3036, allocations: 292.8 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3038, allocations: 50.56 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.3039, allocations: 40.91 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3039, allocations: 4 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3041, allocations: 71.38 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3041, allocations: 0 / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004332/0.3046, allocations: 145.8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3046, allocations: 55.41 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3047, allocations: 125.8 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3048, allocations: 25.7 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3048, allocations: 92.14 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3049, allocations: 15.75 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3049, allocations: 29.7 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3051, allocations: 322.8 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.3051, allocations: 19.98 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.757e-05/0.3053, allocations: 65.52 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3055, allocations: 101 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3055, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002394/0.3057, allocations: 117.4 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3057, allocations: 8 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3057, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3058, allocations: 8.156 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.3058, allocations: 15.92 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3059, allocations: 4.062 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.3059, allocations: 15.84 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.306, allocations: 4 kB / 1.023 GB, free: 5.215 MB / 0.795 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.0001046/0.3061, allocations: 125.7 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.3061, allocations: 7.984 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.3061, allocations: 8.375 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3061, allocations: 7.938 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3061, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3061, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.3066, allocations: 378.4 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3067, allocations: 0 / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.3067, allocations: 7.984 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3067, allocations: 0 / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3067, allocations: 4 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3067, allocations: 4 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.3068, allocations: 7.875 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3071, allocations: 207.4 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.3071, allocations: 81.11 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3071, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.3072, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3073, allocations: 7.922 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3073, allocations: 8 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.3074, allocations: 91.27 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3074, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002978/0.3077, allocations: 39.98 kB / 1.024 GB, free: 4.141 MB / 0.795 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.0003439/0.308, allocations: 159.3 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3083, allocations: 79.83 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3083, allocations: 0 / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3084, allocations: 43.95 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3087, allocations: 4.094 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3091, allocations: 222.9 kB / 1.024 GB, free: 3.613 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3095, allocations: 0.6846 MB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.3095, allocations: 11.42 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of SimCode: time 3.6e-07/0.3095, allocations: 4 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of Templates: time 0.003725/0.3132, allocations: 1.575 MB / 1.027 GB, free: 1.312 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches