Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.001416/0.001416, 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.001713/0.001713, allocations: 169 kB / 24.28 MB, free: 280 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.106/1.106, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.882/1.882, allocations: 359 MB / 0.6055 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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.784e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002036/0.002054, allocations: 1.584 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003201, allocations: 0.8048 MB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.003267, allocations: 3.938 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.003295, allocations: 3.938 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.003384, allocations: 21.61 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.003984, allocations: 159.3 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004118, allocations: 95.7 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.004211, allocations: 5.016 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.004372, allocations: 71.8 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.004438, allocations: 40.94 kB / 0.7898 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.004458, allocations: 8 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.004672, allocations: 135.7 kB / 0.7899 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.004698, allocations: 25.34 kB / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004743, allocations: 31.91 kB / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.004972, allocations: 167.5 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004974, allocations: 1.594 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004975, allocations: 0 / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.004978, allocations: 4 kB / 0.7901 GB, free: 9.699 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005386/0.005517, allocations: 0.5105 MB / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.005555, allocations: 8.031 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.005754, allocations: 40.84 kB / 0.7907 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005915, allocations: 147 kB / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.005933, allocations: 4.375 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.005948, allocations: 8.359 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.006083, allocations: 78.92 kB / 0.7909 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.00609, allocations: 192 / 0.7909 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.006104, allocations: 4.359 kB / 0.7909 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.006111, allocations: 3.938 kB / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.006175, allocations: 32.52 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.006546, allocations: 305.4 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.00668, allocations: 63.16 kB / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.006723, allocations: 31.7 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.006739, allocations: 1.75 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.006853, allocations: 92.91 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.006854, allocations: 0 / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002595/0.007113, allocations: 141.5 kB / 0.7916 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.007152, allocations: 55.88 kB / 0.7916 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.007249, allocations: 192.9 kB / 0.7918 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.007264, allocations: 29.7 kB / 0.7918 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.00732, allocations: 142.8 kB / 0.792 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.007344, allocations: 33.66 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.007386, allocations: 35.36 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.007507, allocations: 0.4962 MB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.00754, allocations: 11.98 kB / 0.7925 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.0076, allocations: 70.11 kB / 0.7926 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.007696, allocations: 96.11 kB / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007698, allocations: 0 / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001457/0.007844, allocations: 129.9 kB / 0.7928 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.007857, allocations: 8.516 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007862, allocations: 0.7188 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.007874, allocations: 4 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.007951, allocations: 20.52 kB / 0.7928 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.007957, allocations: 1.5 kB / 0.7928 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.008002, allocations: 15.89 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.008012, allocations: 8 kB / 0.7929 GB, free: 6.652 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.65e-05/0.008099, allocations: 167.1 kB / 0.793 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008121, allocations: 21.22 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.008309, allocations: 134.4 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008311, allocations: 0 / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.008315, allocations: 7.938 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008318, allocations: 1.156 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.008649, allocations: 417.2 kB / 0.7936 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.00865, allocations: 1.375 kB / 0.7936 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.008683, allocations: 8 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.008687, allocations: 7.922 kB / 0.7936 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.008696, allocations: 4 kB / 0.7936 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008698, allocations: 0.9062 kB / 0.7936 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008699, allocations: 0 / 0.7936 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.008887, allocations: 279.1 kB / 0.7939 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.008901, allocations: 15.84 kB / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.008921, allocations: 7.984 kB / 0.7939 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.00897, allocations: 5.344 kB / 0.7939 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.009019, allocations: 15.97 kB / 0.7939 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.009033, allocations: 4 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.009082, allocations: 142 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009082, allocations: 0.6562 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002299/0.009312, allocations: 47.92 kB / 0.7941 GB, free: 5.332 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003109/0.009623, allocations: 179.8 kB / 0.7943 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.009775, allocations: 71.06 kB / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009777, allocations: 0 / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.009838, allocations: 52.59 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01005, allocations: 19.92 kB / 0.7944 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.01057, allocations: 225.3 kB / 0.7946 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01061, allocations: 63.34 kB / 0.7947 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.01064, allocations: 17.77 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.01068, allocations: 17.22 kB / 0.7947 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01068, allocations: 0 / 0.7947 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.003667/0.01434, allocations: 2.042 MB / 0.7967 GB, free: 2.66 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.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.156256428919733]