Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001004/0.001004, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009737/0.0009737, allocations: 165 kB / 23.82 MB, free: 0.7383 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 1.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.952/1.952, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.46e-05, allocations: 2.312 kB / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002397/0.002422, allocations: 1.583 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003592, allocations: 0.8239 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.003654, allocations: 0.75 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.003689, allocations: 11.86 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.003781, allocations: 21.23 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.004373, allocations: 151.8 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.00449, allocations: 95.64 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.004571, allocations: 9.234 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.004858, allocations: 63.88 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.004923, allocations: 31.89 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.004942, allocations: 9.531 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.00517, allocations: 143.7 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.005196, allocations: 23.91 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.00524, allocations: 27.92 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.005481, allocations: 164.7 kB / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005483, allocations: 0 / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005484, allocations: 0 / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.005489, allocations: 0.625 kB / 0.7901 GB, free: 9.375 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.0005735/0.006063, allocations: 0.4891 MB / 0.7906 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.0061, allocations: 8.031 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.00628, allocations: 33.66 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006446, allocations: 132.5 kB / 0.7908 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/0.006528, allocations: 90.55 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.006546, allocations: 8.375 kB / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.00669, allocations: 75.53 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006698, allocations: 1.312 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.00671, allocations: 4.125 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.006719, allocations: 4 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.006778, allocations: 31.03 kB / 0.791 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.00716, allocations: 307.6 kB / 0.7913 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.007265, allocations: 54.98 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.007302, allocations: 19.67 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.007326, allocations: 7.938 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.007444, allocations: 93.72 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 3.015e-06/0.007447, allocations: 1.656 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002514/0.007698, allocations: 121.5 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.00773, allocations: 55.41 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.007828, allocations: 195.6 kB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007841, allocations: 27.42 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.007896, allocations: 139.1 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.007921, allocations: 23.95 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.00797, allocations: 39.36 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.008081, allocations: 0.4884 MB / 0.7925 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.008119, allocations: 21.27 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.008177, allocations: 72.23 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.762e-05/0.008275, allocations: 95.58 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.008279, allocations: 4 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001405/0.008419, allocations: 119.1 kB / 0.7928 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008432, allocations: 4 kB / 0.7928 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008438, allocations: 4.906 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.008454, allocations: 0 / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.842e-05/0.008542, allocations: 24.45 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008548, allocations: 0.5625 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.008597, allocations: 16.52 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.008606, allocations: 4 kB / 0.7928 GB, free: 6.324 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.005e-05/0.008686, allocations: 163.8 kB / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.008703, allocations: 11.89 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.008732, allocations: 21.3 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008734, allocations: 1.375 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008738, allocations: 0 / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008741, allocations: 4 kB / 0.793 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.009077, allocations: 390.3 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009079, allocations: 0 / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.009113, allocations: 11.98 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009115, allocations: 0.9688 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.009124, allocations: 0 / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009126, allocations: 3.938 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009128, allocations: 4.812 kB / 0.7934 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.009293, allocations: 256.8 kB / 0.7937 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.009306, allocations: 11.94 kB / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.009323, allocations: 0 / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.009374, allocations: 13.33 kB / 0.7937 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.009417, allocations: 7.984 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.009431, allocations: 7.984 kB / 0.7937 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.00948, allocations: 146.1 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00948, allocations: 0 / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002252/0.009705, allocations: 43.92 kB / 0.7939 GB, free: 5.191 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 (10): * Single equations (assignments): 7 * 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.000321/0.01003, allocations: 172.3 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01017, allocations: 70.97 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01018, allocations: 0 / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.01023, allocations: 39.61 kB / 0.7942 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01044, allocations: 27.91 kB / 0.7942 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.01097, allocations: 206.7 kB / 0.7944 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.01101, allocations: 63.84 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.748e-05/0.01105, allocations: 15.02 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01108, allocations: 12.5 kB / 0.7945 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01108, allocations: 0 / 0.7945 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.00376/0.01484, allocations: 1.9 MB / 0.7963 GB, free: 2.695 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.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.381239642389119]