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.0008764/0.0008764, 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.001021/0.001021, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.114/1.114, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.741/1.741, allocations: 359 MB / 0.6063 GB, free: 10.9 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 2.044e-06/2.044e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.29e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003167/0.0032, allocations: 1.579 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.004722, allocations: 0.8158 MB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.004794, allocations: 0 / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.00483, allocations: 13.02 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.004935, allocations: 19.8 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.005594, allocations: 156.2 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.005754, allocations: 96.48 kB / 0.7909 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.005858, allocations: 11.98 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.006031, allocations: 62.31 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.006113, allocations: 31.89 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.006135, allocations: 4 kB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.006429, allocations: 151.7 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.00646, allocations: 19.91 kB / 0.7911 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.006503, allocations: 19.98 kB / 0.7912 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.006806, allocations: 173.2 kB / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.00681, allocations: 0 / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.006812, allocations: 0 / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006817, allocations: 0 / 0.7913 GB, free: 9.121 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.0006643/0.007481, allocations: 499.9 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.007527, allocations: 12.75 kB / 0.7918 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.007767, allocations: 25.41 kB / 0.7918 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.007952, allocations: 142.1 kB / 0.792 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.008041, allocations: 89.61 kB / 0.7921 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.008055, allocations: 4.375 kB / 0.7921 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.008217, allocations: 74.91 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.008226, allocations: 0.6875 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.008238, allocations: 4.719 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.008246, allocations: 4 kB / 0.7922 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.008296, allocations: 12.77 kB / 0.7922 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.008729, allocations: 285.4 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.00885, allocations: 56.39 kB / 0.7925 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.008883, allocations: 15.69 kB / 0.7925 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.008902, allocations: 0 / 0.7925 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.009044, allocations: 98.83 kB / 0.7926 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.009046, allocations: 0 / 0.7926 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002674/0.009314, allocations: 113.5 kB / 0.7927 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.009358, allocations: 59.39 kB / 0.7928 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.009481, allocations: 184.8 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.009503, allocations: 33.7 kB / 0.793 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.00957, allocations: 143 kB / 0.7931 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.009603, allocations: 29.09 kB / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.009664, allocations: 35.36 kB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.009815, allocations: 0.4962 MB / 0.7937 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.009853, allocations: 13.58 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.00992, allocations: 70.05 kB / 0.7937 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.01003, allocations: 88.78 kB / 0.7938 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01003, allocations: 0 / 0.7938 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001798/0.01021, allocations: 113.4 kB / 0.7939 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.01023, allocations: 8 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.01024, allocations: 0.5 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.01025, allocations: 4.531 kB / 0.7939 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01035, allocations: 21.86 kB / 0.794 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01036, allocations: 3.984 kB / 0.794 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.01042, allocations: 8 kB / 0.794 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01044, allocations: 8 kB / 0.794 GB, free: 6.145 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 0.0001049/0.01055, allocations: 165.1 kB / 0.7941 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.01057, allocations: 19.88 kB / 0.7942 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.01061, allocations: 12.78 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01061, allocations: 0 / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01061, allocations: 0 / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01062, allocations: 4 kB / 0.7942 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.01105, allocations: 370.9 kB / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01105, allocations: 0 / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.0111, allocations: 8.844 kB / 0.7945 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0111, allocations: 0 / 0.7945 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01112, allocations: 3.984 kB / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01112, allocations: 1.281 kB / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01112, allocations: 0 / 0.7945 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01135, allocations: 255.7 kB / 0.7948 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01137, allocations: 8.797 kB / 0.7948 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01139, allocations: 4 kB / 0.7948 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.01147, allocations: 8.703 kB / 0.7948 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.01153, allocations: 11.98 kB / 0.7948 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.01154, allocations: 6.891 kB / 0.7948 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.295e-05/0.01161, allocations: 137.2 kB / 0.795 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01161, allocations: 3.938 kB / 0.795 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003474/0.01195, allocations: 43.94 kB / 0.795 GB, free: 5.055 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.0006097/0.01256, allocations: 168.2 kB / 0.7952 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01273, allocations: 68.48 kB / 0.7952 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01273, allocations: 0 / 0.7952 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.0128, allocations: 35.61 kB / 0.7953 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01308, allocations: 31.59 kB / 0.7953 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01368, allocations: 212.5 kB / 0.7955 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01373, allocations: 63.34 kB / 0.7955 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.779e-05/0.01377, allocations: 10.34 kB / 0.7956 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.01386, allocations: 82.19 kB / 0.7956 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01386, allocations: 1.344 kB / 0.7956 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of Templates: time 0.005351/0.01921, allocations: 2.145 MB / 0.7977 GB, free: 2.238 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.0873278309591115]