Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7177 GB, free: 4.5 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 75.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002728/0.2912, allocations: 1.492 MB / 1.177 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2925, allocations: 0.7245 MB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.2925, allocations: 4 kB / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.2926, allocations: 3.938 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.2926, allocations: 11.86 kB / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.2932, allocations: 123.5 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2933, allocations: 71.78 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.2934, allocations: 11.98 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.2935, allocations: 35.84 kB / 1.178 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.2936, allocations: 35.84 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2936, allocations: 4 kB / 1.178 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2938, allocations: 95.91 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.2938, allocations: 11.98 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.2939, allocations: 35.8 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2942, allocations: 139.4 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2942, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2942, allocations: 7.938 kB / 1.179 GB, free: 3.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2942, allocations: 0 / 1.179 GB, free: 3.051 MB / 0.92 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.0006405/0.2949, allocations: 446.4 kB / 1.179 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2949, allocations: 8.031 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.2949, allocations: 8.891 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2951, allocations: 176.3 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.2951, allocations: 8.375 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2951, allocations: 4.375 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2953, allocations: 77.89 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2954, allocations: 0 / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2954, allocations: 7.984 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2954, allocations: 0 / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2955, allocations: 39.97 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.296, allocations: 288.8 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2962, allocations: 54.48 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.2963, allocations: 32.97 kB / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2963, allocations: 0 / 1.18 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.2966, allocations: 87.38 kB / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2966, allocations: 0 / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004555/0.297, allocations: 141.8 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2971, allocations: 59.34 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2972, allocations: 121.8 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2972, allocations: 29.7 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2973, allocations: 92.09 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2973, allocations: 19.83 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.2974, allocations: 21.72 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2976, allocations: 330.8 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.2976, allocations: 19.98 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.2977, allocations: 57.14 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2979, allocations: 93.06 kB / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2979, allocations: 0 / 1.181 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.2982, allocations: 117.6 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2982, allocations: 4 kB / 1.181 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2982, allocations: 4 kB / 1.181 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2982, allocations: 0 / 1.181 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.2983, allocations: 19.92 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2984, allocations: 0 / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.2984, allocations: 8 kB / 1.181 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.2984, allocations: 7.984 kB / 1.181 GB, free: 452 kB / 0.92 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.000102/0.2985, allocations: 129.8 kB / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2986, allocations: 3.953 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.2986, allocations: 12.38 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2986, allocations: 3.938 kB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2986, allocations: 3.938 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2986, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.2992, allocations: 382.4 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2992, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.2992, allocations: 7.984 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2992, allocations: 4 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2992, allocations: 3.938 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2992, allocations: 4 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2993, allocations: 3.938 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.2996, allocations: 207.5 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.2996, allocations: 81.06 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2996, allocations: 4 kB / 1.182 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.2997, allocations: 7.984 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.2998, allocations: 11.94 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2998, allocations: 7.984 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.2999, allocations: 87.28 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.2999, allocations: 0 / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003011/0.3002, allocations: 39.92 kB / 1.182 GB, free: 15.36 MB / 0.9356 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.0003724/0.3006, allocations: 172.5 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.3008, allocations: 75.88 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3008, allocations: 0 / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3009, allocations: 35.98 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3012, allocations: 10.44 kB / 1.182 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.3017, allocations: 218.5 kB / 1.182 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.302, allocations: 0.6885 MB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.302, allocations: 11.44 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.302, allocations: 0 / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.003705/0.3057, allocations: 1.577 MB / 1.184 GB, free: 12.52 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.645548090920784]