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.001962/0.001962, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.00211/0.00211, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.928/2.928, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.593e-06/1.593e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.229e-05, allocations: 5.094 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00444/0.004472, allocations: 1.537 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.007208, allocations: 0.7772 MB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.007321, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.007373, allocations: 4.875 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.007504, allocations: 19.84 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.00889, allocations: 140.4 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.009173, allocations: 75.72 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.009356, allocations: 12.73 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.009662, allocations: 49.27 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.00979, allocations: 27.89 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.009833, allocations: 8 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.01041, allocations: 138.7 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.01047, allocations: 11.92 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.01055, allocations: 20 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.01111, allocations: 163.5 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.01113, allocations: 11.92 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01113, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.01113, allocations: 0 / 0.7893 GB, free: 9.867 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.00107/0.0122, allocations: 467.3 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.01226, allocations: 9.25 kB / 0.7897 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.01266, allocations: 28.88 kB / 0.7897 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.01296, allocations: 136.2 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.013, allocations: 4.906 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.01302, allocations: 4.375 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.01329, allocations: 63.81 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.0133, allocations: 192 / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.01333, allocations: 16.11 kB / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.01334, allocations: 0 / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.01354, allocations: 32.59 kB / 0.79 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.01424, allocations: 292.4 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.01447, allocations: 56.23 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.01461, allocations: 32.55 kB / 0.7903 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.01465, allocations: 7.938 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.0149, allocations: 82.41 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 4.368e-06/0.0149, allocations: 3.984 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006699/0.01557, allocations: 143.4 kB / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.01564, allocations: 55.41 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.01588, allocations: 185.9 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.01591, allocations: 29.7 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.01605, allocations: 142.9 kB / 0.791 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.01609, allocations: 21.38 kB / 0.791 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.01619, allocations: 39.3 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003965/0.01658, allocations: 0.4884 MB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.0167, allocations: 19.98 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.01689, allocations: 84.42 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.01718, allocations: 108 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01719, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004064/0.01759, allocations: 117.9 kB / 0.7918 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01761, allocations: 5.781 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.01763, allocations: 4 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01765, allocations: 3.984 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01779, allocations: 19.94 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.0178, allocations: 0 / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.0179, allocations: 18.25 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01791, allocations: 4 kB / 0.7919 GB, free: 6.941 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.0001904/0.0181, allocations: 164.6 kB / 0.792 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01815, allocations: 15.89 kB / 0.792 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.01818, allocations: 4.438 kB / 0.792 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01818, allocations: 0.5312 kB / 0.792 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.01819, allocations: 8.703 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.0182, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.01897, allocations: 382.4 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01897, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.01903, allocations: 12.64 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01903, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.01905, allocations: 0.6875 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01905, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01905, allocations: 0.8438 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.01961, allocations: 275.7 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01963, allocations: 9.828 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.01966, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.01979, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.01986, allocations: 11.98 kB / 0.7927 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01988, allocations: 4 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001457/0.02002, allocations: 135.9 kB / 0.7928 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02002, allocations: 0 / 0.7928 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005812/0.0206, allocations: 44.98 kB / 0.7929 GB, free: 5.832 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.0006915/0.0213, allocations: 174.8 kB / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.02164, allocations: 77.66 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02165, allocations: 0 / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02182, allocations: 39.61 kB / 0.7932 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.0223, allocations: 28.36 kB / 0.7932 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.02294, allocations: 187.5 kB / 0.7934 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.02308, allocations: 76.42 kB / 0.7935 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.02312, allocations: 4.656 kB / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.02317, allocations: 9.344 kB / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.02317, allocations: 0 / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.007642/0.03081, allocations: 1.508 MB / 0.7949 GB, free: 3.723 MB / 0.7448 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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: 8.011096499976702]