Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.0009164/0.0009164, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001112/0.001112, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9558/0.9558, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.748/1.748, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7875 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.123e-05, allocations: 2.312 kB / 0.7875 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002341/0.002362, allocations: 1.541 MB / 0.789 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.003321, allocations: 0.7737 MB / 0.7898 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.003405, allocations: 7.938 kB / 0.7898 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.003443, allocations: 3.938 kB / 0.7898 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.003495, allocations: 13.17 kB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.003972, allocations: 144.1 kB / 0.7899 GB, free: 8.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.004065, allocations: 71.7 kB / 0.79 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.00414, allocations: 17.09 kB / 0.79 GB, free: 8.539 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.00426, allocations: 43.95 kB / 0.7901 GB, free: 8.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.004304, allocations: 29.94 kB / 0.7901 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.004321, allocations: 4 kB / 0.7901 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.00452, allocations: 139.7 kB / 0.7902 GB, free: 8.328 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.004541, allocations: 19.91 kB / 0.7903 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.004569, allocations: 15.98 kB / 0.7903 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004777, allocations: 152.1 kB / 0.7904 GB, free: 8.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004779, allocations: 0 / 0.7904 GB, free: 8.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00478, allocations: 0.9375 kB / 0.7904 GB, free: 8.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004784, allocations: 0 / 0.7904 GB, free: 8.145 MB / 0.698 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.0004601/0.005244, allocations: 480.3 kB / 0.7909 GB, free: 7.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.005282, allocations: 8.031 kB / 0.7909 GB, free: 7.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.005438, allocations: 26.28 kB / 0.7909 GB, free: 7.598 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.005579, allocations: 139.8 kB / 0.791 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.005597, allocations: 384 / 0.791 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.005606, allocations: 9.438 kB / 0.7911 GB, free: 7.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.00572, allocations: 66.92 kB / 0.7911 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.005727, allocations: 1.75 kB / 0.7911 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005737, allocations: 8.125 kB / 0.7911 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.005744, allocations: 3.984 kB / 0.7911 GB, free: 7.344 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.005767, allocations: 15.97 kB / 0.7911 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.006043, allocations: 273.8 kB / 0.7914 GB, free: 7.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.006092, allocations: 35.06 kB / 0.7914 GB, free: 6.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.006112, allocations: 15.67 kB / 0.7915 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.00613, allocations: 5.875 kB / 0.7915 GB, free: 6.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.071e-05/0.006211, allocations: 68.97 kB / 0.7915 GB, free: 6.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.006212, allocations: 0 / 0.7915 GB, free: 6.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001812/0.006393, allocations: 101.7 kB / 0.7916 GB, free: 6.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.006424, allocations: 53.78 kB / 0.7917 GB, free: 6.715 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.006504, allocations: 181.9 kB / 0.7918 GB, free: 6.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006518, allocations: 29.7 kB / 0.7919 GB, free: 6.484 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.00657, allocations: 142.8 kB / 0.792 GB, free: 6.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006589, allocations: 11.89 kB / 0.792 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.006632, allocations: 35.34 kB / 0.7921 GB, free: 6.285 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006744, allocations: 0.4884 MB / 0.7925 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.006761, allocations: 12.55 kB / 0.7925 GB, free: 5.773 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.006804, allocations: 71.7 kB / 0.7926 GB, free: 5.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.678e-05/0.006871, allocations: 79.3 kB / 0.7927 GB, free: 5.578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.006874, allocations: 4 kB / 0.7927 GB, free: 5.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001039/0.006978, allocations: 94.59 kB / 0.7928 GB, free: 5.477 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.00699, allocations: 4 kB / 0.7928 GB, free: 5.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006994, allocations: 5.375 kB / 0.7928 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.007007, allocations: 0 / 0.7928 GB, free: 5.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.007079, allocations: 19.98 kB / 0.7928 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007083, allocations: 5.688 kB / 0.7928 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.007119, allocations: 7.953 kB / 0.7928 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.007128, allocations: 8 kB / 0.7928 GB, free: 5.43 MB / 0.698 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 8.036e-05/0.007208, allocations: 165.2 kB / 0.793 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.007224, allocations: 15.89 kB / 0.793 GB, free: 5.242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.007249, allocations: 9.219 kB / 0.793 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.007251, allocations: 0 / 0.793 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007253, allocations: 1.938 kB / 0.793 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007256, allocations: 0 / 0.793 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.007513, allocations: 329.9 kB / 0.7933 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007515, allocations: 0 / 0.7933 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.007537, allocations: 4 kB / 0.7933 GB, free: 4.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007539, allocations: 0 / 0.7933 GB, free: 4.875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007547, allocations: 10.27 kB / 0.7933 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007548, allocations: 0 / 0.7933 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007549, allocations: 0 / 0.7933 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.007692, allocations: 235.8 kB / 0.7936 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.007701, allocations: 11.95 kB / 0.7936 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.007714, allocations: 7.984 kB / 0.7936 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007752, allocations: 0.7188 kB / 0.7936 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.007781, allocations: 15.91 kB / 0.7936 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.007787, allocations: 0.5312 kB / 0.7936 GB, free: 4.582 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.007834, allocations: 136.8 kB / 0.7937 GB, free: 4.449 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007834, allocations: 0 / 0.7937 GB, free: 4.449 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001958/0.008029, allocations: 31.94 kB / 0.7938 GB, free: 4.418 MB / 0.698 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.0002865/0.008316, allocations: 192 kB / 0.7939 GB, free: 4.246 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.008414, allocations: 56.88 kB / 0.794 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008415, allocations: 0 / 0.794 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.008453, allocations: 27.61 kB / 0.794 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.008647, allocations: 12.58 kB / 0.794 GB, free: 4.145 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.009116, allocations: 181.3 kB / 0.7942 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.009152, allocations: 63.34 kB / 0.7943 GB, free: 3.855 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.009175, allocations: 4.969 kB / 0.7943 GB, free: 3.852 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.009226, allocations: 81.56 kB / 0.7944 GB, free: 3.773 MB / 0.698 GB Notification: Performance of SimCode: time 7.02e-07/0.009227, allocations: 0 / 0.7944 GB, free: 3.773 MB / 0.698 GB Notification: Performance of Templates: time 0.003601/0.01283, allocations: 1.668 MB / 0.796 GB, free: 2.137 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.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: 4.761317769065499]