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.001513/0.001513, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001892/0.001892, allocations: 173 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.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.807/1.807, allocations: 359 MB / 0.6055 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.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 2.324e-06/2.324e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/3e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003387/0.003417, allocations: 1.559 MB / 0.7886 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.005162, allocations: 0.8199 MB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.005254, allocations: 4.469 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.005301, allocations: 5.25 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.005426, allocations: 23.78 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.00621, allocations: 155.9 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.006367, allocations: 84.36 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.006477, allocations: 11.98 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.006667, allocations: 60.88 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.006744, allocations: 27.89 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.006767, allocations: 9.5 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.007057, allocations: 143.7 kB / 0.7899 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.007088, allocations: 15.97 kB / 0.7899 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.007136, allocations: 23.92 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.007443, allocations: 168.4 kB / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007446, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.007447, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.007451, allocations: 0.75 kB / 0.7901 GB, free: 9.742 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.0007368/0.008188, allocations: 494 kB / 0.7906 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.008228, allocations: 12.03 kB / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.008466, allocations: 28.86 kB / 0.7906 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.008627, allocations: 139 kB / 0.7907 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.008645, allocations: 4.375 kB / 0.7907 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.008658, allocations: 6.031 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.008792, allocations: 78.91 kB / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.008799, allocations: 192 / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.008809, allocations: 384 / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.008818, allocations: 7.922 kB / 0.7908 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.008877, allocations: 24.45 kB / 0.7908 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.009278, allocations: 312.4 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.009384, allocations: 49.2 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.009422, allocations: 19.67 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.00944, allocations: 4 kB / 0.7912 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.009557, allocations: 92.98 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.009559, allocations: 0.5625 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002513/0.00981, allocations: 126.4 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.009847, allocations: 55.41 kB / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.009944, allocations: 186.6 kB / 0.7917 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.009959, allocations: 33.7 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.01001, allocations: 144.2 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.01004, allocations: 20.02 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.01008, allocations: 39.36 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.0102, allocations: 0.4936 MB / 0.7924 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.01023, allocations: 11.98 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.01029, allocations: 80.98 kB / 0.7925 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.01038, allocations: 95.92 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01039, allocations: 0 / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001269/0.01051, allocations: 110.9 kB / 0.7926 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01053, allocations: 8 kB / 0.7927 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01053, allocations: 1.094 kB / 0.7927 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.01054, allocations: 4 kB / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.01063, allocations: 23.92 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01063, allocations: 5.969 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.01068, allocations: 11.92 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.01068, allocations: 4 kB / 0.7927 GB, free: 6.809 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 7.82e-05/0.01076, allocations: 164.8 kB / 0.7929 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.01078, allocations: 23.84 kB / 0.7929 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.01096, allocations: 126 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01096, allocations: 0 / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01097, allocations: 0 / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01097, allocations: 0 / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.01129, allocations: 397.8 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01129, allocations: 0 / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.01132, allocations: 9.938 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01132, allocations: 96 / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01133, allocations: 11.97 kB / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.01133, allocations: 0 / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01133, allocations: 0 / 0.7934 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.0115, allocations: 278.2 kB / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.01151, allocations: 7.891 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01152, allocations: 4 kB / 0.7937 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.01157, allocations: 4 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.01162, allocations: 19.97 kB / 0.7937 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01163, allocations: 4 kB / 0.7937 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.01168, allocations: 138.4 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 0.9062 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001998/0.01188, allocations: 43.92 kB / 0.7939 GB, free: 5.539 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.0003043/0.01218, allocations: 172.2 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.01232, allocations: 72.31 kB / 0.7941 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01232, allocations: 0 / 0.7941 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.01237, allocations: 46.81 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01258, allocations: 23.92 kB / 0.7942 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.01309, allocations: 210.2 kB / 0.7944 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.01313, allocations: 63.34 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01317, allocations: 14.2 kB / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.0132, allocations: 12.5 kB / 0.7945 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.0132, allocations: 4.938 kB / 0.7945 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of Templates: time 0.003546/0.01675, allocations: 1.881 MB / 0.7963 GB, free: 3.047 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: 5.1056932751089334]