Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001019/0.001019, allocations: 82.64 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.0009807/0.0009807, allocations: 181 kB / 24.09 MB, free: 420 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 0.9474/0.9474, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.722/1.722, 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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0.6562 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.805e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001811/0.001829, allocations: 1.558 MB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002865, allocations: 0.8203 MB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.002917, allocations: 0 / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.002943, allocations: 12.52 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.003026, allocations: 17.31 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.00349, allocations: 151.4 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.003598, allocations: 91.62 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.00367, allocations: 9.594 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.003795, allocations: 63.81 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.003843, allocations: 31.94 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003861, allocations: 8 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.004049, allocations: 147.1 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.004068, allocations: 15.92 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004098, allocations: 27.91 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004307, allocations: 159.5 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004309, allocations: 0 / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004309, allocations: 0 / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.004313, allocations: 0 / 0.7905 GB, free: 9.113 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.0004882/0.004801, allocations: 495.5 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.004839, allocations: 8.844 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.00501, allocations: 29.47 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.005118, allocations: 137.1 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.00513, allocations: 4.375 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.005141, allocations: 13.66 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.005239, allocations: 70.92 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.005244, allocations: 192 / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005252, allocations: 4.359 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005259, allocations: 8.547 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.005293, allocations: 17.08 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.005564, allocations: 288.2 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.005631, allocations: 47.8 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.005652, allocations: 20.39 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.005668, allocations: 0 / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.697e-05/0.005755, allocations: 94.41 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.005756, allocations: 0 / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001699/0.005926, allocations: 109.5 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.005954, allocations: 59.95 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.006038, allocations: 194.1 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.006055, allocations: 25.7 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.006117, allocations: 147 kB / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.006143, allocations: 19.84 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.006188, allocations: 48.86 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.00629, allocations: 496.1 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.006311, allocations: 15.98 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.006354, allocations: 70.09 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.006425, allocations: 92.67 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006427, allocations: 0 / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001041/0.006531, allocations: 103 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.006544, allocations: 11.94 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006548, allocations: 0 / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.006557, allocations: 0 / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.00663, allocations: 20.48 kB / 0.7931 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.006635, allocations: 4.469 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.006678, allocations: 21.33 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.006685, allocations: 0 / 0.7931 GB, free: 6.246 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 6.549e-05/0.006751, allocations: 164.6 kB / 0.7933 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.006768, allocations: 16.47 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.006908, allocations: 127.9 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006911, allocations: 4 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006912, allocations: 0 / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006915, allocations: 0 / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.007174, allocations: 361.9 kB / 0.7937 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007176, allocations: 4.562 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.007204, allocations: 11.98 kB / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.007208, allocations: 4.484 kB / 0.7938 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.007215, allocations: 5.031 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007217, allocations: 4 kB / 0.7938 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.007217, allocations: 0 / 0.7938 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.007353, allocations: 248.7 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.007364, allocations: 15.83 kB / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.007378, allocations: 4.844 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.007424, allocations: 11.98 kB / 0.794 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.007458, allocations: 22.08 kB / 0.7941 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.00747, allocations: 7.984 kB / 0.7941 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.007512, allocations: 135.2 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007512, allocations: 0 / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002094/0.007722, allocations: 39.94 kB / 0.7942 GB, free: 5.023 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 (12): * Single equations (assignments): 9 * 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.0002741/0.007996, allocations: 175 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008112, allocations: 65.2 kB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008113, allocations: 0 / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.008157, allocations: 35.61 kB / 0.7945 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.008349, allocations: 24.86 kB / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.008807, allocations: 215.8 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.008851, allocations: 63.34 kB / 0.7948 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.008884, allocations: 6.062 kB / 0.7948 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.008954, allocations: 86.19 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.008954, allocations: 3.938 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of Templates: time 0.003584/0.01254, allocations: 2.095 MB / 0.7969 GB, free: 2.258 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.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.9342961721122265]