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.0008142/0.0008142, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008117/0.0008117, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8442/0.8442, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.581/1.581, allocations: 359 MB / 0.6044 GB, free: 11.09 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.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.613e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002202/0.002228, allocations: 1.506 MB / 0.9532 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.003179, allocations: 0.7638 MB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.003234, allocations: 0 / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.003263, allocations: 3.938 kB / 0.9539 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.003314, allocations: 19.84 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.00389, allocations: 139.4 kB / 0.9541 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.003999, allocations: 71.72 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.004085, allocations: 16.06 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004219, allocations: 55.88 kB / 0.9542 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.004265, allocations: 23.97 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.004282, allocations: 4 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.004488, allocations: 135.7 kB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.004509, allocations: 23.91 kB / 0.9544 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.004543, allocations: 19.92 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.004762, allocations: 163.5 kB / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004765, allocations: 0 / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.252e-06/0.004766, allocations: 0 / 0.9546 GB, free: 84 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004771, allocations: 0 / 0.9546 GB, free: 84 kB / 0.9011 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.0004893/0.00526, allocations: 381.2 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.005295, allocations: 12.03 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.005456, allocations: 24.81 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.005645, allocations: 127 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.005667, allocations: 4.312 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.005677, allocations: 4.375 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.00582, allocations: 78.19 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005828, allocations: 192 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.005839, allocations: 4.125 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005845, allocations: 8 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.005917, allocations: 35.97 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.00623, allocations: 228.5 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.006317, allocations: 46.5 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.006366, allocations: 28.97 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.006385, allocations: 3.938 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.006495, allocations: 79.38 kB / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.006497, allocations: 0 / 0.9556 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002735/0.00677, allocations: 145.6 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006805, allocations: 51.41 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.00688, allocations: 137.1 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006893, allocations: 29.7 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.006931, allocations: 84.14 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.00695, allocations: 19.84 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.006984, allocations: 29.7 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.007061, allocations: 326.8 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.007101, allocations: 23.98 kB / 0.9564 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.007156, allocations: 57.14 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.007256, allocations: 93 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007259, allocations: 4 kB / 0.9565 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001371/0.007396, allocations: 117.4 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.00741, allocations: 10.19 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007414, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007426, allocations: 4 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.007487, allocations: 11.98 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.007494, allocations: 4 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.007526, allocations: 8.109 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.007536, allocations: 8 kB / 0.9567 GB, free: 13.68 MB / 0.9167 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 7.867e-05/0.007614, allocations: 125.8 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.007624, allocations: 7.938 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.007647, allocations: 8.469 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007649, allocations: 4 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.007652, allocations: 0 / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.007655, allocations: 0 / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.007945, allocations: 322.4 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007947, allocations: 11.88 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.007967, allocations: 7.984 kB / 0.9571 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007969, allocations: 0 / 0.9571 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007977, allocations: 7.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007979, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00798, allocations: 0 / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.008144, allocations: 219.5 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.008154, allocations: 7.891 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008166, allocations: 4 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.00821, allocations: 3.984 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.008245, allocations: 12 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.008252, allocations: 7.984 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.00829, allocations: 91.27 kB / 0.9575 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00829, allocations: 0 / 0.9575 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002235/0.008513, allocations: 35.94 kB / 0.9575 GB, free: 12.75 MB / 0.9167 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.0002902/0.008803, allocations: 164.4 kB / 0.9577 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.008959, allocations: 75.89 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.008961, allocations: 0 / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.009019, allocations: 35.97 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.009217, allocations: 17.58 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.009558, allocations: 207.3 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.009609, allocations: 79.89 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.009634, allocations: 12.5 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.009634, allocations: 0 / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.002494/0.01213, allocations: 1.641 MB / 0.9597 GB, free: 10.5 MB / 0.9167 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=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/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: 6.597633003257215]