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.001026/0.001026, 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.001146/0.001146, allocations: 169 kB / 24.28 MB, free: 272 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.092/1.092, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.838/1.838, allocations: 359 MB / 0.6055 GB, free: 11.01 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.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.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.133e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00191/0.001931, allocations: 1.57 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003011, allocations: 0.8242 MB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.003074, allocations: 3.938 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.003103, allocations: 3.938 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.003194, allocations: 21.83 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.003726, allocations: 155.3 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.004001, allocations: 95.62 kB / 0.7897 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.004091, allocations: 9.344 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.004235, allocations: 59.88 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.004297, allocations: 31.89 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.004316, allocations: 13 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.004503, allocations: 143.7 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.004527, allocations: 15.98 kB / 0.7899 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.004564, allocations: 25.31 kB / 0.79 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.004801, allocations: 171.4 kB / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004803, allocations: 0 / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.62e-07/0.004804, allocations: 0 / 0.7901 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004808, allocations: 1.656 kB / 0.7901 GB, free: 9.73 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.0005824/0.005391, allocations: 0.4916 MB / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.005428, allocations: 12.03 kB / 0.7906 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.005592, allocations: 26.47 kB / 0.7906 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005753, allocations: 138 kB / 0.7908 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.005824, allocations: 89.66 kB / 0.7909 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.005836, allocations: 6 kB / 0.7909 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.005974, allocations: 82.86 kB / 0.7909 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.00598, allocations: 192 / 0.7909 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.005994, allocations: 10.73 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006, allocations: 0 / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.575e-05/0.006056, allocations: 23.91 kB / 0.791 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.006424, allocations: 299.7 kB / 0.7913 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.006526, allocations: 55.12 kB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.006563, allocations: 24.31 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.006581, allocations: 4.469 kB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.006698, allocations: 94.48 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.006699, allocations: 0 / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002426/0.006942, allocations: 125.5 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.006978, allocations: 56.56 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.007076, allocations: 187.8 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.007092, allocations: 33.7 kB / 0.7918 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.007146, allocations: 144.5 kB / 0.7919 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.007169, allocations: 27.73 kB / 0.792 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.007209, allocations: 35.36 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.007321, allocations: 0.4961 MB / 0.7925 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.007354, allocations: 17.73 kB / 0.7925 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.007411, allocations: 73.11 kB / 0.7926 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.007502, allocations: 91.58 kB / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007504, allocations: 0 / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001419/0.007646, allocations: 115.3 kB / 0.7928 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.007661, allocations: 11.98 kB / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007666, allocations: 0 / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.00768, allocations: 6.031 kB / 0.7928 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.007765, allocations: 19.92 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.007772, allocations: 4 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.007813, allocations: 4 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.007823, allocations: 4 kB / 0.7928 GB, free: 6.688 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 7.835e-05/0.007902, allocations: 175.1 kB / 0.793 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.00792, allocations: 16.61 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.007946, allocations: 12.78 kB / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007947, allocations: 0.5312 kB / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007951, allocations: 0 / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007955, allocations: 1.5 kB / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.008277, allocations: 393.2 kB / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008279, allocations: 0 / 0.7934 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.008308, allocations: 8.891 kB / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.00831, allocations: 0 / 0.7934 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.008319, allocations: 8.844 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008321, allocations: 3.984 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008323, allocations: 0 / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.00848, allocations: 265.2 kB / 0.7937 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.008489, allocations: 7.953 kB / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.008505, allocations: 0 / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.008552, allocations: 4.562 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.008597, allocations: 16.59 kB / 0.7937 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.008612, allocations: 4 kB / 0.7937 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.008661, allocations: 147.5 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008662, allocations: 3.938 kB / 0.7938 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002068/0.008868, allocations: 43.88 kB / 0.7939 GB, free: 5.543 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.0002937/0.009162, allocations: 172.5 kB / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.009292, allocations: 67.58 kB / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009293, allocations: 0 / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.009345, allocations: 35.61 kB / 0.7942 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.009549, allocations: 19.92 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.01006, allocations: 222.1 kB / 0.7944 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01009, allocations: 59.95 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.01013, allocations: 10.3 kB / 0.7944 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.01016, allocations: 13.38 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01016, allocations: 4 kB / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of Templates: time 0.003582/0.01375, allocations: 1.896 MB / 0.7963 GB, free: 3.051 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.16642078012228]