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.001224/0.001224, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0015/0.0015, allocations: 185.3 kB / 24.09 MB, free: 416 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.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.748/1.748, allocations: 359 MB / 0.6055 GB, free: 10.86 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 3.106e-06/3.106e-06, allocations: 4 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.196e-05, allocations: 3.031 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003028/0.00306, allocations: 1.569 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004261, allocations: 0.825 MB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.004333, allocations: 4 kB / 0.7899 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.004362, allocations: 3.938 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.004452, allocations: 17.05 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.0051, allocations: 155.3 kB / 0.79 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.005253, allocations: 97.23 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.005369, allocations: 15.95 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.005588, allocations: 59.89 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.005672, allocations: 35.83 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.005696, allocations: 9 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.005971, allocations: 139.7 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.006003, allocations: 25.5 kB / 0.7904 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.006039, allocations: 19.98 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.006313, allocations: 171.4 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.006317, allocations: 0 / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/0.006319, allocations: 0 / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.006325, allocations: 1.438 kB / 0.7906 GB, free: 9.074 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.0005925/0.006917, allocations: 0.4916 MB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.006963, allocations: 10.84 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.007152, allocations: 40.8 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.007322, allocations: 130.2 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.007394, allocations: 81.67 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.007406, allocations: 12.36 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.007542, allocations: 66.92 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00755, allocations: 4.906 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.007561, allocations: 9.781 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.007567, allocations: 0 / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.007607, allocations: 23.91 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.007947, allocations: 277.5 kB / 0.7917 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.00805, allocations: 55.06 kB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.008076, allocations: 17.44 kB / 0.7918 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.008098, allocations: 3.984 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008214, allocations: 89.06 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.008216, allocations: 0 / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002189/0.008435, allocations: 114.7 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.008472, allocations: 55.41 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.008581, allocations: 191.6 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.008595, allocations: 29.64 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.008659, allocations: 147.1 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.008684, allocations: 23.78 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.008735, allocations: 43.28 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.008888, allocations: 0.498 MB / 0.7929 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.008919, allocations: 11.98 kB / 0.7929 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.008977, allocations: 66.09 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.009069, allocations: 87.33 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.009072, allocations: 0.7188 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001402/0.009212, allocations: 111.2 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.009228, allocations: 6.031 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.009235, allocations: 0 / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.009252, allocations: 8 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.009344, allocations: 20.45 kB / 0.7932 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.00935, allocations: 5.375 kB / 0.7932 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.009394, allocations: 8 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.009405, allocations: 4 kB / 0.7932 GB, free: 6.102 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.0001062/0.009512, allocations: 173.7 kB / 0.7934 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.009533, allocations: 15.89 kB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.009563, allocations: 13.59 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.009565, allocations: 4 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.009568, allocations: 0.9375 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009571, allocations: 0 / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.009935, allocations: 371.4 kB / 0.7938 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.009938, allocations: 0 / 0.7938 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.009971, allocations: 7.984 kB / 0.7938 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009974, allocations: 0.75 kB / 0.7938 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.009982, allocations: 4 kB / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.009984, allocations: 1.938 kB / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009985, allocations: 0 / 0.7938 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.01016, allocations: 251.7 kB / 0.794 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.01017, allocations: 7.953 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.01019, allocations: 4 kB / 0.794 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.01024, allocations: 8.797 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.01027, allocations: 11.98 kB / 0.7941 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01028, allocations: 11.39 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.01033, allocations: 143 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01033, allocations: 4 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002293/0.01056, allocations: 39.92 kB / 0.7943 GB, free: 5 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.0003132/0.01088, allocations: 165 kB / 0.7944 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.011, allocations: 61.44 kB / 0.7945 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.011, allocations: 0 / 0.7945 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.01104, allocations: 31.61 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01124, allocations: 35.3 kB / 0.7945 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.01174, allocations: 215.9 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.01178, allocations: 65.88 kB / 0.7948 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.01182, allocations: 8.672 kB / 0.7948 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.0119, allocations: 82.19 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.0119, allocations: 2.781 kB / 0.7949 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.003947/0.01584, allocations: 2.111 MB / 0.797 GB, free: 2.23 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.007117867004126]