Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.0009498/0.0009498, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0011/0.0011, allocations: 185.3 kB / 24.09 MB, free: 416 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.9964/0.9964, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.78/1.78, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.994e-05, allocations: 4.703 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002059/0.002089, allocations: 1.563 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003211, allocations: 0.8243 MB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.00327, allocations: 0 / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.003299, allocations: 3.938 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.003394, allocations: 21.02 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.003892, allocations: 156 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.004014, allocations: 91.64 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.00411, allocations: 17.56 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.004267, allocations: 55.83 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.004319, allocations: 27.95 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.004338, allocations: 8 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.00455, allocations: 139.2 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.004574, allocations: 23.91 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.004606, allocations: 23.92 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.004811, allocations: 167.5 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004813, allocations: 3.938 kB / 0.7906 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004814, allocations: 0 / 0.7906 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.004817, allocations: 0 / 0.7906 GB, free: 9.133 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004982/0.005316, allocations: 491.5 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.005352, allocations: 16.69 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.005533, allocations: 30.52 kB / 0.7911 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.005665, allocations: 132.5 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.005678, allocations: 384 / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.005688, allocations: 8.375 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005801, allocations: 75.41 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005808, allocations: 1 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.005818, allocations: 4.375 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.005825, allocations: 8.875 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.005861, allocations: 11.98 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.00617, allocations: 281.3 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.006248, allocations: 52.41 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.006272, allocations: 19.69 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.006301, allocations: 4 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.006408, allocations: 85.95 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.006409, allocations: 0 / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004506/0.00686, allocations: 122.6 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.006887, allocations: 55.34 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.006974, allocations: 192.3 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.006987, allocations: 30.7 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.00704, allocations: 143 kB / 0.7922 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.007059, allocations: 19.84 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007097, allocations: 40.94 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.0072, allocations: 0.4923 MB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.007219, allocations: 12 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.007265, allocations: 76.33 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.007337, allocations: 87.78 kB / 0.7929 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007339, allocations: 0.7188 kB / 0.7929 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001119/0.007451, allocations: 102.4 kB / 0.793 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007465, allocations: 18.11 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.00747, allocations: 0.5312 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.007483, allocations: 9.375 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.007555, allocations: 15.98 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.007559, allocations: 4 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.007601, allocations: 11.94 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.00761, allocations: 5.219 kB / 0.7931 GB, free: 6.273 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: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.647e-05/0.007696, allocations: 175 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.007713, allocations: 19.84 kB / 0.7933 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.007863, allocations: 115 kB / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007866, allocations: 0 / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007867, allocations: 0 / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00787, allocations: 1.219 kB / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.008139, allocations: 357.9 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.008142, allocations: 3.938 kB / 0.7937 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.008172, allocations: 12.83 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008174, allocations: 0 / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.00818, allocations: 6.219 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.008184, allocations: 3.938 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008185, allocations: 0 / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.008323, allocations: 255.8 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.008337, allocations: 19.81 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.008353, allocations: 11.94 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.008396, allocations: 3.031 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.008428, allocations: 11.97 kB / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.00844, allocations: 8 kB / 0.7941 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.00848, allocations: 135.2 kB / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00848, allocations: 0 / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002121/0.008693, allocations: 43.92 kB / 0.7942 GB, free: 5.059 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0002934/0.008986, allocations: 179.8 kB / 0.7944 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.009096, allocations: 56.14 kB / 0.7945 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009098, allocations: 1.281 kB / 0.7945 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.009141, allocations: 43.61 kB / 0.7945 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.009344, allocations: 27.27 kB / 0.7945 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.00979, allocations: 210.8 kB / 0.7947 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.009829, allocations: 64.81 kB / 0.7948 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.009867, allocations: 16.14 kB / 0.7948 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.009934, allocations: 78.2 kB / 0.7949 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/0.009935, allocations: 0 / 0.7949 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.003774/0.01371, allocations: 2.091 MB / 0.7969 GB, free: 2.297 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.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.9076404590159655]