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.001034/0.001034, 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.001143/0.001143, allocations: 169 kB / 24.28 MB, free: 276 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.069/1.069, 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.837/1.837, allocations: 359 MB / 0.6055 GB, free: 11.01 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.081e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002089/0.00211, allocations: 1.559 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.00317, allocations: 0.8276 MB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.003229, allocations: 0.6562 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.003258, allocations: 13.36 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.003338, allocations: 7.875 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.003864, allocations: 154.7 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003969, allocations: 87.69 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.004055, allocations: 15.92 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.004183, allocations: 63.81 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.004233, allocations: 31.89 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.004252, allocations: 8 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.004445, allocations: 147.7 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.004467, allocations: 15.92 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.004503, allocations: 27.91 kB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.004721, allocations: 160.4 kB / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004723, allocations: 0 / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004724, allocations: 0.5938 kB / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.004727, allocations: 0 / 0.7901 GB, free: 9.727 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.0005073/0.005235, allocations: 496.8 kB / 0.7906 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.005268, allocations: 8.031 kB / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.005456, allocations: 29.88 kB / 0.7906 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.005607, allocations: 133.2 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.005626, allocations: 8.375 kB / 0.7907 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005638, allocations: 5 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.005757, allocations: 74.86 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.005763, allocations: 1.5 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005775, allocations: 384 / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.005783, allocations: 7.938 kB / 0.7908 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.005836, allocations: 27.91 kB / 0.7909 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.006173, allocations: 305.1 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.006264, allocations: 52.58 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.006299, allocations: 23.61 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.006315, allocations: 0 / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.006419, allocations: 92.98 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.00642, allocations: 0.5625 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.006651, allocations: 131 kB / 0.7914 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006681, allocations: 51.41 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.00677, allocations: 188.9 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006782, allocations: 29.7 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.006832, allocations: 139.6 kB / 0.7918 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.006855, allocations: 27.78 kB / 0.7919 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.006894, allocations: 41.39 kB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006999, allocations: 0.4923 MB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.007026, allocations: 8 kB / 0.7924 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.007081, allocations: 78.09 kB / 0.7925 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.805e-05/0.007169, allocations: 95.23 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007171, allocations: 1.469 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001228/0.007294, allocations: 113.4 kB / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.007306, allocations: 5.25 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.007312, allocations: 4 kB / 0.7927 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007323, allocations: 0.5 kB / 0.7927 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.0074, allocations: 21.02 kB / 0.7927 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.007406, allocations: 7.938 kB / 0.7927 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.007447, allocations: 4.906 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.007456, allocations: 8 kB / 0.7927 GB, free: 6.805 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.859e-05/0.007535, allocations: 169.4 kB / 0.7929 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.007553, allocations: 22.03 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.007722, allocations: 129.9 kB / 0.793 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007724, allocations: 4 kB / 0.793 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.007728, allocations: 0 / 0.793 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007731, allocations: 0 / 0.793 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.008029, allocations: 389.5 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00803, allocations: 2.625 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.008062, allocations: 15.92 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008065, allocations: 0 / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008074, allocations: 7.938 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.008076, allocations: 4 kB / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008077, allocations: 0 / 0.7934 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.008231, allocations: 263.8 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.008241, allocations: 13.61 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008256, allocations: 0 / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.008303, allocations: 7.984 kB / 0.7937 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.008346, allocations: 11.98 kB / 0.7937 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.00836, allocations: 8.484 kB / 0.7937 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.008409, allocations: 148.7 kB / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008409, allocations: 0 / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002157/0.008625, allocations: 39.94 kB / 0.7939 GB, free: 5.527 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.0002658/0.008891, allocations: 173.7 kB / 0.7941 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.009307, allocations: 68.23 kB / 0.7941 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009309, allocations: 0 / 0.7941 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.009384, allocations: 40.52 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.009626, allocations: 28.11 kB / 0.7942 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.01011, allocations: 206.2 kB / 0.7944 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.01015, allocations: 63.34 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.01018, allocations: 8.672 kB / 0.7944 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.01021, allocations: 24.48 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01021, allocations: 1.156 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.00334/0.01356, allocations: 1.88 MB / 0.7963 GB, free: 3.039 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.324088287074119]