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.001524/0.001524, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001359/0.001359, allocations: 161 kB / 23.82 MB, free: 0.75 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.069/1.069, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.744/1.744, allocations: 359 MB / 0.6052 GB, free: 11.02 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.472e-06/1.472e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.833e-05, allocations: 3 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002683/0.002712, allocations: 1.569 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004027, allocations: 0.8367 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.004098, allocations: 4 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.004139, allocations: 3.938 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.004241, allocations: 17.06 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.004936, allocations: 159.2 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.005088, allocations: 95.64 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005191, allocations: 4.625 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.005377, allocations: 69.22 kB / 0.7898 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.005452, allocations: 31.94 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.005475, allocations: 11.94 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.005734, allocations: 135.7 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.005764, allocations: 16.67 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.005811, allocations: 27.91 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.006088, allocations: 168.4 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.006091, allocations: 3.938 kB / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006093, allocations: 0.6562 kB / 0.7901 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.006099, allocations: 0 / 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.0006611/0.00676, allocations: 0.4925 MB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.006801, allocations: 15.34 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.006995, allocations: 28.88 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.007176, allocations: 134.4 kB / 0.7908 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.00726, allocations: 89.66 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.007277, allocations: 8.375 kB / 0.7909 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.007434, allocations: 78.86 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007442, allocations: 192 / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.007456, allocations: 8.828 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007464, allocations: 3.984 kB / 0.791 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.007523, allocations: 25.58 kB / 0.791 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.007923, allocations: 303.7 kB / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.008039, allocations: 56.64 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.008076, allocations: 19.67 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.0081, allocations: 3.938 kB / 0.7914 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.00822, allocations: 90.31 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.008222, allocations: 4 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002524/0.008474, allocations: 123.1 kB / 0.7916 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.008517, allocations: 63.33 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008622, allocations: 188.1 kB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.008637, allocations: 29.7 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.008698, allocations: 140.7 kB / 0.792 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.008724, allocations: 27.78 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.008767, allocations: 35.36 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.0089, allocations: 0.4923 MB / 0.7925 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.008938, allocations: 16 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.009002, allocations: 75.09 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.009101, allocations: 92.17 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009104, allocations: 3.938 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001469/0.00925, allocations: 118.5 kB / 0.7928 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.009271, allocations: 4 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.009278, allocations: 1.375 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.009296, allocations: 7.984 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.009386, allocations: 15.98 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.009394, allocations: 5.156 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.009438, allocations: 8 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.009449, allocations: 4 kB / 0.7928 GB, free: 6.328 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 9.478e-05/0.009544, allocations: 169.4 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.009563, allocations: 16.7 kB / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.009587, allocations: 12.78 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00959, allocations: 0.9375 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.009594, allocations: 0 / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.009598, allocations: 0 / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.009968, allocations: 394.7 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.00997, allocations: 0 / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.01, allocations: 7.984 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01001, allocations: 4.969 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01002, allocations: 96 / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01002, allocations: 6.25 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01002, allocations: 0 / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01021, allocations: 263.8 kB / 0.7937 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.01023, allocations: 11.95 kB / 0.7937 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.01025, allocations: 3.938 kB / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.0103, allocations: 8 kB / 0.7937 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.01034, allocations: 15.41 kB / 0.7937 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01036, allocations: 4 kB / 0.7937 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.01041, allocations: 143.2 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01041, allocations: 0 / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002328/0.01065, allocations: 43.92 kB / 0.7939 GB, free: 5.188 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.0003676/0.01102, allocations: 172 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01117, allocations: 72.64 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01118, allocations: 0 / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/0.01123, allocations: 37.08 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.01145, allocations: 22.27 kB / 0.7942 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.01201, allocations: 212 kB / 0.7944 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.983e-05/0.01205, allocations: 63.34 kB / 0.7945 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.01209, allocations: 10.55 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.01212, allocations: 23.69 kB / 0.7945 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.01212, allocations: 0 / 0.7945 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.004555/0.01668, allocations: 2.094 MB / 0.7965 GB, free: 2.492 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: 4.993939027190208]