Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001444/0.001444, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001548/0.001548, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9943/0.9943, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.778/1.778, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.598e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002004/0.00202, allocations: 1.6 MB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003109, allocations: 0.8361 MB / 0.7907 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.003159, allocations: 0 / 0.7907 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.003181, allocations: 4.562 kB / 0.7907 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.003253, allocations: 25.14 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.003711, allocations: 155.3 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003821, allocations: 108.4 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.003893, allocations: 15.98 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.004022, allocations: 60.44 kB / 0.791 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.004083, allocations: 43.88 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004098, allocations: 4.688 kB / 0.7911 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.004298, allocations: 143.7 kB / 0.7912 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.004324, allocations: 28.8 kB / 0.7912 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.004355, allocations: 27.92 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004549, allocations: 176.1 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.004551, allocations: 0 / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004551, allocations: 0.7188 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004555, allocations: 0 / 0.7914 GB, free: 9.059 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004439/0.004999, allocations: 0.5299 MB / 0.7919 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.467e-05/0.005024, allocations: 8.031 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.00519, allocations: 38.2 kB / 0.792 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.005307, allocations: 148.9 kB / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.00532, allocations: 8.375 kB / 0.7921 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.00533, allocations: 5.969 kB / 0.7921 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.645e-05/0.005426, allocations: 74.91 kB / 0.7922 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005432, allocations: 3.938 kB / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005439, allocations: 0 / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005443, allocations: 0.6875 kB / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.005485, allocations: 27.89 kB / 0.7922 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.005772, allocations: 287.7 kB / 0.7925 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.005874, allocations: 63.14 kB / 0.7926 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.005899, allocations: 19.67 kB / 0.7926 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.005913, allocations: 8.031 kB / 0.7926 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.427e-05/0.005997, allocations: 92.92 kB / 0.7927 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 7.62e-07/0.005998, allocations: 0 / 0.7927 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000185/0.006183, allocations: 126.1 kB / 0.7928 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.00621, allocations: 55.94 kB / 0.7929 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.00629, allocations: 205.3 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.006304, allocations: 30.58 kB / 0.7931 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.006351, allocations: 142.9 kB / 0.7932 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.006374, allocations: 28.58 kB / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006414, allocations: 43.34 kB / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005467/0.00696, allocations: 0.4967 MB / 0.7938 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.006995, allocations: 13.36 kB / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.007045, allocations: 62.11 kB / 0.7938 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.33e-05/0.007128, allocations: 95.12 kB / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00713, allocations: 0 / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001232/0.007253, allocations: 114.2 kB / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007265, allocations: 8.609 kB / 0.794 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.00727, allocations: 7.938 kB / 0.7941 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.007278, allocations: 5.312 kB / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.007357, allocations: 15.98 kB / 0.7941 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.00736, allocations: 4 kB / 0.7941 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.007405, allocations: 12.52 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.007413, allocations: 8 kB / 0.7941 GB, free: 6.055 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.305e-05/0.007497, allocations: 185.7 kB / 0.7943 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.007514, allocations: 7.953 kB / 0.7943 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.007684, allocations: 134.5 kB / 0.7944 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007687, allocations: 3.984 kB / 0.7944 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.00769, allocations: 3.375 kB / 0.7944 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007693, allocations: 0 / 0.7944 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.008014, allocations: 393.8 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008015, allocations: 0 / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.008055, allocations: 12 kB / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008057, allocations: 0 / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.008066, allocations: 3.984 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.00807, allocations: 7.938 kB / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008071, allocations: 0 / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.00823, allocations: 275.2 kB / 0.7951 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.008243, allocations: 15.84 kB / 0.7951 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.008258, allocations: 0 / 0.7951 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.008308, allocations: 8.484 kB / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.008345, allocations: 16.55 kB / 0.7951 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.008357, allocations: 4.547 kB / 0.7951 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.008413, allocations: 147.1 kB / 0.7953 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008413, allocations: 1.25 kB / 0.7953 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002137/0.008627, allocations: 43.92 kB / 0.7953 GB, free: 4.766 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002332/0.00886, allocations: 174.4 kB / 0.7955 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.008974, allocations: 68.78 kB / 0.7955 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.81e-07/0.008975, allocations: 0 / 0.7955 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.009023, allocations: 40.42 kB / 0.7956 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.009219, allocations: 40.77 kB / 0.7956 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.009625, allocations: 227.5 kB / 0.7958 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.009661, allocations: 67.34 kB / 0.7959 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.009698, allocations: 15.55 kB / 0.7959 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.009767, allocations: 86.19 kB / 0.796 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.009767, allocations: 0 / 0.796 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.003695/0.01346, allocations: 2.385 MB / 0.7983 GB, free: 1.684 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.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: 5.103229956235737]