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.001288/0.001288, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001159/0.001159, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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.063/1.063, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.805/1.805, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.752e-05, allocations: 6.109 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003093/0.003121, allocations: 1.549 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.00472, allocations: 0.793 MB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.004801, allocations: 1.562 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.004846, allocations: 3.938 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.004923, allocations: 11.86 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.005744, allocations: 140.7 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.005893, allocations: 79.69 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.006003, allocations: 8.188 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.006196, allocations: 56.75 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.006267, allocations: 19.97 kB / 0.7897 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.006291, allocations: 4.781 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.006616, allocations: 135.7 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.006646, allocations: 22.38 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.006694, allocations: 23.92 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.007006, allocations: 147.5 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.00701, allocations: 0 / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007011, allocations: 3.938 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.007018, allocations: 3.984 kB / 0.79 GB, free: 9.539 MB / 0.7448 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.0006867/0.007705, allocations: 473.4 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.007754, allocations: 8.031 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.008039, allocations: 24.88 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.00826, allocations: 129.1 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.008289, allocations: 4.375 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.00831, allocations: 4.906 kB / 0.7906 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.008522, allocations: 76.56 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.008535, allocations: 192 / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.00855, allocations: 8.125 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.00856, allocations: 0 / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.00862, allocations: 12.44 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.009118, allocations: 292.3 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.009217, allocations: 35.84 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.00927, allocations: 23.66 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.009297, allocations: 9.094 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.009427, allocations: 73.08 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.009429, allocations: 5.375 kB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003272/0.009756, allocations: 93.62 kB / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.00981, allocations: 59.41 kB / 0.7913 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.009945, allocations: 181.2 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.009967, allocations: 35.39 kB / 0.7915 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.01004, allocations: 138.8 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.01007, allocations: 19.97 kB / 0.7916 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.01012, allocations: 35.36 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.01029, allocations: 0.4884 MB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.01032, allocations: 13.2 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.0104, allocations: 66.11 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01051, allocations: 80.69 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01051, allocations: 0 / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001756/0.01069, allocations: 97.94 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.01071, allocations: 8.531 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.01072, allocations: 1.938 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.01074, allocations: 4 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01086, allocations: 19.92 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01086, allocations: 0 / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.01092, allocations: 7.953 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.01094, allocations: 10.58 kB / 0.7924 GB, free: 6.793 MB / 0.7448 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.0001027/0.01104, allocations: 166.4 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.01107, allocations: 19.89 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.0111, allocations: 8.375 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0111, allocations: 0 / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.01111, allocations: 4 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01112, allocations: 4.516 kB / 0.7926 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.01153, allocations: 346.1 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01153, allocations: 0 / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.01157, allocations: 0.9062 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.01158, allocations: 4 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01159, allocations: 4.781 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.0116, allocations: 3.938 kB / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.0116, allocations: 5.219 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.01178, allocations: 243.8 kB / 0.7932 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.0118, allocations: 7.953 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01181, allocations: 0 / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.01186, allocations: 12.83 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.0119, allocations: 0 / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01191, allocations: 9.203 kB / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.01195, allocations: 139.2 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01195, allocations: 0 / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002244/0.01218, allocations: 37.25 kB / 0.7934 GB, free: 5.738 MB / 0.7448 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.0003293/0.01251, allocations: 175.4 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.01272, allocations: 60.59 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01273, allocations: 0 / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.0128, allocations: 28.77 kB / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01314, allocations: 15.92 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/0.014, allocations: 194 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.01405, allocations: 59.36 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.01408, allocations: 7.984 kB / 0.7939 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01412, allocations: 9.719 kB / 0.7939 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.01412, allocations: 4 kB / 0.7939 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.004894/0.01901, allocations: 1.497 MB / 0.7954 GB, free: 3.68 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.311427040025592]