Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001049/0.001049, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001185/0.001185, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.974/0.974, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.772/1.772, allocations: 359 MB / 0.6052 GB, free: 11 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.Love1998Light1,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.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,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.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.71e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002226/0.002253, allocations: 1.561 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003533, allocations: 0.8241 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.003604, allocations: 0 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.003643, allocations: 8.594 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.003756, allocations: 28.69 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.00447, allocations: 149.4 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004608, allocations: 87.66 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004709, allocations: 15.97 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.00488, allocations: 63.81 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.00494, allocations: 27.91 kB / 0.7898 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.004959, allocations: 4.531 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.005199, allocations: 147.7 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.005226, allocations: 17.03 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.005271, allocations: 27.92 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.00553, allocations: 159.5 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.005533, allocations: 1.562 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005534, allocations: 0 / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.00554, allocations: 0 / 0.7901 GB, free: 9.406 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.0006003/0.006141, allocations: 492.9 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006178, allocations: 8.031 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.006385, allocations: 38.73 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.006539, allocations: 132.5 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.006559, allocations: 8.375 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.006574, allocations: 16.3 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006704, allocations: 70.92 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006713, allocations: 6.516 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006724, allocations: 384 / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006731, allocations: 3.938 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.006783, allocations: 19.97 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.007158, allocations: 303.6 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.007268, allocations: 47.67 kB / 0.7912 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.007303, allocations: 29.33 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007319, allocations: 0 / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.007429, allocations: 92.92 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.007431, allocations: 1.75 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002411/0.007672, allocations: 125.5 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.007714, allocations: 59.39 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.007805, allocations: 193.1 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.007819, allocations: 25.7 kB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.00787, allocations: 144 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.007893, allocations: 27.83 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.007934, allocations: 36.11 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.008042, allocations: 0.4923 MB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.008073, allocations: 14.31 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.008138, allocations: 78.09 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.82e-05/0.008227, allocations: 93.98 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008229, allocations: 0.7188 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001326/0.008361, allocations: 111.6 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.008377, allocations: 7.984 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.008383, allocations: 4 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.008395, allocations: 0 / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.008481, allocations: 19.92 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.008489, allocations: 8.562 kB / 0.7927 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.008532, allocations: 13.25 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.008542, allocations: 4 kB / 0.7927 GB, free: 6.469 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 8.044e-05/0.008622, allocations: 169.7 kB / 0.7929 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.00864, allocations: 15.84 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.008822, allocations: 126 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.008825, allocations: 5.375 kB / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.008829, allocations: 0 / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008832, allocations: 0 / 0.793 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.009153, allocations: 394.2 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.009157, allocations: 3.984 kB / 0.7934 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.009193, allocations: 8 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009197, allocations: 4.828 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009206, allocations: 4 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009208, allocations: 1.281 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.00921, allocations: 0 / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.009377, allocations: 267.7 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.009389, allocations: 16.58 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.009408, allocations: 4 kB / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.009454, allocations: 8.859 kB / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.0095, allocations: 11.92 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.009515, allocations: 9.562 kB / 0.7937 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.009565, allocations: 139.2 kB / 0.7939 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.009565, allocations: 0 / 0.7939 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002345/0.0098, allocations: 43.92 kB / 0.7939 GB, free: 5.195 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.0003742/0.01017, allocations: 170.9 kB / 0.7941 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01033, allocations: 67.52 kB / 0.7941 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01033, allocations: 0 / 0.7941 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.01039, allocations: 47.55 kB / 0.7942 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.0106, allocations: 22.86 kB / 0.7942 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.01112, allocations: 212.2 kB / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.01116, allocations: 59.36 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.0112, allocations: 9.266 kB / 0.7945 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.01123, allocations: 17.16 kB / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.01123, allocations: 2.812 kB / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.004485/0.01572, allocations: 2.059 MB / 0.7965 GB, free: 2.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.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.10860197711736]