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.002501/0.002501, allocations: 87.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.002688/0.002688, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.643/1.643, 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.909/2.909, allocations: 359 MB / 0.6048 GB, free: 10.97 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.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.713e-06/1.713e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.712e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002998/0.003025, allocations: 1.533 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.004677, allocations: 0.7735 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.00474, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.004771, allocations: 4.656 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.00484, allocations: 12.94 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.005505, allocations: 148.2 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.005657, allocations: 71.72 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.005747, allocations: 8.172 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005921, allocations: 48.7 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.005993, allocations: 33.02 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.006016, allocations: 4 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.006329, allocations: 143.7 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.006352, allocations: 8.578 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.006402, allocations: 23.91 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.006713, allocations: 166.2 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006716, allocations: 0 / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.006717, allocations: 0 / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.006723, allocations: 0 / 0.7892 GB, free: 9.891 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.0007208/0.007444, allocations: 479.2 kB / 0.7897 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.007478, allocations: 8.031 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.007731, allocations: 26.34 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.00795, allocations: 136.4 kB / 0.7899 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.007976, allocations: 8.375 kB / 0.7899 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.007988, allocations: 0.9688 kB / 0.7899 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.008177, allocations: 70.16 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.008186, allocations: 0.7812 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.008203, allocations: 4.812 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.00821, allocations: 4 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.008344, allocations: 36.66 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.008847, allocations: 292.7 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.009002, allocations: 56.42 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.009091, allocations: 27.8 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.009117, allocations: 7.938 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.009297, allocations: 82.83 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.009299, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000473/0.009772, allocations: 149.6 kB / 0.7906 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.009823, allocations: 52.94 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.01011, allocations: 193.9 kB / 0.7908 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.01014, allocations: 29.7 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.01023, allocations: 134.9 kB / 0.791 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.01026, allocations: 24.33 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.01032, allocations: 35.38 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.0106, allocations: 0.4928 MB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.01067, allocations: 21.89 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.0108, allocations: 74.11 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.01099, allocations: 108.5 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.011, allocations: 4 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002517/0.01125, allocations: 118 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01127, allocations: 4.719 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01128, allocations: 4 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01129, allocations: 0.5312 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.01139, allocations: 17.61 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.0114, allocations: 7.938 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.01146, allocations: 15.89 kB / 0.7919 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01148, allocations: 4 kB / 0.7919 GB, free: 6.953 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.0001273/0.01161, allocations: 167.1 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.01163, allocations: 15.89 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.01167, allocations: 9.031 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.01167, allocations: 0.9375 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01167, allocations: 4 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01168, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.01221, allocations: 386.1 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01221, allocations: 5.625 kB / 0.7924 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.01225, allocations: 3.984 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01225, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01226, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01226, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01227, allocations: 0.9062 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.01264, allocations: 271.7 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01265, allocations: 6.109 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.01268, allocations: 7.984 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.01276, allocations: 0 / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.0128, allocations: 7.984 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.01281, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.802e-05/0.01291, allocations: 145.4 kB / 0.7929 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01291, allocations: 0 / 0.7929 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000296/0.0132, allocations: 35.94 kB / 0.7929 GB, free: 5.848 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.0004658/0.01367, allocations: 171.1 kB / 0.793 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.01392, allocations: 88.84 kB / 0.7931 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01392, allocations: 1.875 kB / 0.7931 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01404, allocations: 43.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.0002648/0.0143, allocations: 20.48 kB / 0.7932 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.01475, allocations: 187.7 kB / 0.7934 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.01483, allocations: 68.44 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.01486, allocations: 8.641 kB / 0.7934 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.01489, allocations: 13.09 kB / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01489, allocations: 0 / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.005157/0.02005, allocations: 1.51 MB / 0.7949 GB, free: 3.73 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","/var/lib/jenkins/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: 8.12130210408941]