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.0009695/0.0009695, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009361/0.0009361, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9706/0.9706, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.751/1.751, allocations: 359 MB / 0.6063 GB, free: 10.92 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.744e-06/1.744e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.138e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001941/0.001962, allocations: 1.56 MB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003071, allocations: 0.8154 MB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.003135, allocations: 0.7812 kB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.003167, allocations: 11.86 kB / 0.7906 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.003256, allocations: 16.8 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.00379, allocations: 156 kB / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.003899, allocations: 88.36 kB / 0.7909 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.003971, allocations: 8 kB / 0.7909 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.004097, allocations: 60.62 kB / 0.7909 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.004155, allocations: 32.92 kB / 0.791 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004173, allocations: 8 kB / 0.791 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.004368, allocations: 143.7 kB / 0.7911 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.00439, allocations: 24.84 kB / 0.7911 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.004421, allocations: 23.92 kB / 0.7912 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004614, allocations: 159.5 kB / 0.7913 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004616, allocations: 4.719 kB / 0.7913 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004617, allocations: 0 / 0.7913 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004621, allocations: 1.219 kB / 0.7913 GB, free: 9.176 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.0004724/0.005093, allocations: 492 kB / 0.7918 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.005123, allocations: 8.031 kB / 0.7918 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.005298, allocations: 35.72 kB / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.005694, allocations: 139 kB / 0.792 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.005708, allocations: 4.359 kB / 0.792 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.005721, allocations: 12.31 kB / 0.792 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.005822, allocations: 66.92 kB / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.005829, allocations: 192 / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005839, allocations: 9.734 kB / 0.792 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.005844, allocations: 7.938 kB / 0.7921 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.00588, allocations: 15.97 kB / 0.7921 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.006184, allocations: 280.8 kB / 0.7923 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.421e-05/0.006258, allocations: 48.66 kB / 0.7924 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.006282, allocations: 23.67 kB / 0.7924 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.006298, allocations: 4 kB / 0.7924 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.276e-05/0.00639, allocations: 85.55 kB / 0.7925 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.006392, allocations: 0.6875 kB / 0.7925 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001848/0.006576, allocations: 113.8 kB / 0.7926 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.006608, allocations: 56.09 kB / 0.7927 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.006688, allocations: 194 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006701, allocations: 30.61 kB / 0.7929 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.006748, allocations: 139 kB / 0.793 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.006769, allocations: 25.22 kB / 0.793 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.006807, allocations: 39.34 kB / 0.7931 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006916, allocations: 0.4923 MB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.006936, allocations: 7.984 kB / 0.7935 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.006983, allocations: 79.91 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.007061, allocations: 87.5 kB / 0.7937 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007063, allocations: 0 / 0.7937 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001125/0.007175, allocations: 105.5 kB / 0.7938 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.00719, allocations: 12.44 kB / 0.7938 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007195, allocations: 0.5312 kB / 0.7938 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.007203, allocations: 5.906 kB / 0.7938 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.007271, allocations: 15.98 kB / 0.7938 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007275, allocations: 3.938 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.00732, allocations: 19.92 kB / 0.7939 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.00733, allocations: 4 kB / 0.7939 GB, free: 6.309 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.158e-05/0.007402, allocations: 163 kB / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.00742, allocations: 15.84 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.00757, allocations: 122 kB / 0.7942 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.007579, allocations: 3.984 kB / 0.7942 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007581, allocations: 0 / 0.7942 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007584, allocations: 0.5312 kB / 0.7942 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.007865, allocations: 358.8 kB / 0.7945 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007867, allocations: 3.938 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.0079, allocations: 12.52 kB / 0.7945 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007902, allocations: 5.141 kB / 0.7945 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.00791, allocations: 4 kB / 0.7945 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007912, allocations: 4 kB / 0.7945 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007913, allocations: 4.438 kB / 0.7945 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.008065, allocations: 251.8 kB / 0.7948 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.008077, allocations: 16.33 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.008092, allocations: 0.8438 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.008142, allocations: 11.98 kB / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.008177, allocations: 12.77 kB / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.008189, allocations: 8 kB / 0.7948 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.008233, allocations: 143.7 kB / 0.795 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008233, allocations: 0 / 0.795 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000214/0.008447, allocations: 39.92 kB / 0.795 GB, free: 5.098 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.0002505/0.008698, allocations: 180.4 kB / 0.7952 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.008809, allocations: 55.58 kB / 0.7952 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.00881, allocations: 0 / 0.7952 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.008855, allocations: 45.69 kB / 0.7953 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.009058, allocations: 29.45 kB / 0.7953 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.009465, allocations: 199.4 kB / 0.7955 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.0095, allocations: 63.34 kB / 0.7955 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.009531, allocations: 9.734 kB / 0.7956 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.009598, allocations: 86.19 kB / 0.7956 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.009599, allocations: 1.844 kB / 0.7956 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.003628/0.01323, allocations: 2.126 MB / 0.7977 GB, free: 2.309 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: 4.946815391071141]