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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110 kB / 19.7 MB, free: 2.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 221.7 kB / 23.01 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 66.83 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002771/0.3233, allocations: 1.529 MB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3247, allocations: 0.8041 MB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.3248, allocations: 4 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3248, allocations: 3.938 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.3249, allocations: 11.86 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.3255, allocations: 143.5 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.3256, allocations: 75.7 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.3257, allocations: 16.11 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3258, allocations: 31.92 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.3259, allocations: 39.83 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3259, allocations: 7.938 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.3262, allocations: 143.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.3263, allocations: 15.92 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.3263, allocations: 35.84 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3266, allocations: 143.6 kB / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3266, allocations: 3.984 kB / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3266, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3266, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 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.0006074/0.3272, allocations: 377.2 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3272, allocations: 12.03 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.3275, allocations: 16.92 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.3277, allocations: 142.3 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3277, allocations: 8.375 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3277, allocations: 8.375 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3279, allocations: 69.77 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3279, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3279, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.328, allocations: 4 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.3281, allocations: 39.91 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.3286, allocations: 271.9 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3287, allocations: 46.55 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.3288, allocations: 28.97 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3288, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.329, allocations: 87.31 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.329, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/0.3294, allocations: 137.9 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3295, allocations: 59.39 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3296, allocations: 122.1 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3296, allocations: 25.7 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3297, allocations: 96.08 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3297, allocations: 23.84 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3297, allocations: 29.7 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3299, allocations: 318.8 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.33, allocations: 19.98 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3301, allocations: 69.06 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3302, allocations: 89.06 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3302, allocations: 4 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.3305, allocations: 113.5 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3305, allocations: 8 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3305, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3305, allocations: 7.938 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.3306, allocations: 8 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3306, allocations: 11.88 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.3307, allocations: 7.984 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3307, allocations: 4.156 kB / 1.29 GB, free: 5.777 MB / 0.9825 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.0001007/0.3308, allocations: 125.8 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.3308, allocations: 7.953 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3308, allocations: 8.359 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3308, allocations: 4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3308, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3308, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.3314, allocations: 361.4 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3314, allocations: 0 / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.3314, allocations: 4 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3314, allocations: 0 / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3314, allocations: 3.984 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3314, allocations: 3.938 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3314, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3317, allocations: 215.4 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.3317, allocations: 3.953 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3317, allocations: 7.984 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3318, allocations: 3.984 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.3319, allocations: 11.97 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3319, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.3319, allocations: 99.27 kB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003044/0.3322, allocations: 35.94 kB / 1.291 GB, free: 4.82 MB / 0.9825 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.0003735/0.3326, allocations: 167 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3329, allocations: 67.89 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3329, allocations: 0 / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.333, allocations: 32.23 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3332, allocations: 23.86 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3337, allocations: 219.1 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.334, allocations: 0.6846 MB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.334, allocations: 19.42 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.334, allocations: 0 / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of Templates: time 0.003654/0.3377, allocations: 1.61 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.398346061992925]