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.001456/0.001456, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001811/0.001811, allocations: 169 kB / 24.28 MB, free: 276 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 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.66 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.799/1.799, allocations: 359 MB / 0.6055 GB, free: 10.99 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 2.395e-06/2.395e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/3.014e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002854/0.002885, allocations: 1.594 MB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004464, allocations: 0.8349 MB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.004525, allocations: 1.219 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.004554, allocations: 7.875 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.004647, allocations: 28.41 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.005167, allocations: 160.7 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.005284, allocations: 99.62 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.005379, allocations: 15.98 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005531, allocations: 64.66 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.005601, allocations: 39.88 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.00562, allocations: 8 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.005826, allocations: 144.3 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.005854, allocations: 24.59 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.005895, allocations: 23.92 kB / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.006127, allocations: 180.2 kB / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00613, allocations: 4 kB / 0.7902 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/0.006132, allocations: 0.6562 kB / 0.7902 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.006136, allocations: 0 / 0.7902 GB, free: 9.609 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.0005757/0.006712, allocations: 0.5253 MB / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.006749, allocations: 15.33 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.006955, allocations: 32.88 kB / 0.7908 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.007124, allocations: 150.9 kB / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.00714, allocations: 384 / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.007153, allocations: 4.375 kB / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.007295, allocations: 98.52 kB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.007302, allocations: 0 / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.007314, allocations: 0.7188 kB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.007323, allocations: 4 kB / 0.791 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.007384, allocations: 25.62 kB / 0.791 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.007784, allocations: 307.7 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.007929, allocations: 72.47 kB / 0.7914 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.007967, allocations: 19.67 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.007988, allocations: 4 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.008107, allocations: 98.52 kB / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.00811, allocations: 0 / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002575/0.008367, allocations: 141.5 kB / 0.7916 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.008403, allocations: 59.41 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.008506, allocations: 203.7 kB / 0.7919 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.008519, allocations: 31.3 kB / 0.7919 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.008578, allocations: 142.9 kB / 0.7921 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.008602, allocations: 27.78 kB / 0.7921 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.008644, allocations: 35.36 kB / 0.7921 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.008763, allocations: 0.4971 MB / 0.7926 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.008799, allocations: 19.98 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.008856, allocations: 66.64 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.553e-05/0.008951, allocations: 99.58 kB / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008954, allocations: 0 / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001419/0.009096, allocations: 118 kB / 0.7929 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.00911, allocations: 8.531 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009115, allocations: 1.375 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.009127, allocations: 4.141 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.009212, allocations: 23.92 kB / 0.7929 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.009218, allocations: 4 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.00926, allocations: 13.05 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.009271, allocations: 15.91 kB / 0.793 GB, free: 6.52 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 7.742e-05/0.009348, allocations: 169.5 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.009364, allocations: 11.95 kB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.009577, allocations: 150 kB / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009579, allocations: 0 / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.009583, allocations: 0 / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.009586, allocations: 0 / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.009944, allocations: 422.6 kB / 0.7937 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.009946, allocations: 0 / 0.7937 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.009986, allocations: 11.98 kB / 0.7937 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009989, allocations: 0.9688 kB / 0.7937 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01, allocations: 12 kB / 0.7937 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01, allocations: 3.984 kB / 0.7937 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01, allocations: 2.312 kB / 0.7937 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.01019, allocations: 277.4 kB / 0.794 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.0102, allocations: 19.84 kB / 0.794 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.01022, allocations: 4 kB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.01027, allocations: 7.984 kB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.01032, allocations: 15.92 kB / 0.794 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.01034, allocations: 11.42 kB / 0.794 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.0104, allocations: 148.7 kB / 0.7942 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0104, allocations: 0 / 0.7942 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002235/0.01062, allocations: 43.92 kB / 0.7942 GB, free: 5.176 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.0003334/0.01095, allocations: 163.5 kB / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.0111, allocations: 72.83 kB / 0.7944 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01111, allocations: 0 / 0.7944 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.01117, allocations: 49.11 kB / 0.7945 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.0114, allocations: 35.47 kB / 0.7945 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.01199, allocations: 240.3 kB / 0.7947 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.01203, allocations: 67.34 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.01206, allocations: 5.438 kB / 0.7948 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.0121, allocations: 21.14 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.0121, allocations: 2.062 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.004161/0.01626, allocations: 2.101 MB / 0.7969 GB, free: 2.445 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.2138428741600364]