Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.0009772/0.0009772, 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.0009724/0.0009724, 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.048/1.048, 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.895/1.895, allocations: 359 MB / 0.6055 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] 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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.715e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001443/0.00147, allocations: 0.7293 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.00308, allocations: 1.595 MB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.003145, allocations: 0 / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.003175, allocations: 3.938 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003351, allocations: 20.58 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.003709, allocations: 174.6 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003856, allocations: 115.6 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003959, allocations: 19.97 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.004144, allocations: 71.81 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.004222, allocations: 43.88 kB / 0.7898 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.004244, allocations: 13.88 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.004408, allocations: 115.8 kB / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.004435, allocations: 27.95 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.004479, allocations: 35.91 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.004735, allocations: 195.4 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.004739, allocations: 0.5 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00474, allocations: 0.5938 kB / 0.7901 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.004746, allocations: 0 / 0.7901 GB, free: 9.699 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005707/0.005317, allocations: 466.5 kB / 0.7906 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.005357, allocations: 8.031 kB / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.005625, allocations: 38.19 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005746, allocations: 116.5 kB / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.005829, allocations: 63.95 kB / 0.7908 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.005845, allocations: 10.12 kB / 0.7908 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.005997, allocations: 105.9 kB / 0.7909 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006005, allocations: 4.188 kB / 0.7909 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.006019, allocations: 8.109 kB / 0.7909 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.006028, allocations: 0 / 0.7909 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.006089, allocations: 33 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.006604, allocations: 0.5839 MB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.006939, allocations: 143.1 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.006991, allocations: 49.67 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.007013, allocations: 4 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.007159, allocations: 116 kB / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.007161, allocations: 0 / 0.7918 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002579/0.007419, allocations: 117.5 kB / 0.7919 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.00747, allocations: 103.5 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.007652, allocations: 185.8 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.007669, allocations: 30.23 kB / 0.7922 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.007724, allocations: 144.8 kB / 0.7924 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.007749, allocations: 27.75 kB / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.007795, allocations: 43.36 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.007903, allocations: 0.4884 MB / 0.7929 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.007969, allocations: 19.98 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.008005, allocations: 20.83 kB / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.008089, allocations: 58.42 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.008091, allocations: 4.781 kB / 0.793 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001394/0.008231, allocations: 109.5 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.008245, allocations: 5.281 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008251, allocations: 0 / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.008265, allocations: 0 / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.008348, allocations: 24.83 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.008354, allocations: 3.938 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.008399, allocations: 13.09 kB / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.008409, allocations: 7.984 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.43e-05/0.008494, allocations: 168.9 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008512, allocations: 7.953 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.008697, allocations: 115.9 kB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.0087, allocations: 0 / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.008705, allocations: 4 kB / 0.7934 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.00871, allocations: 4 kB / 0.7935 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.008822, allocations: 159.5 kB / 0.7936 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.008825, allocations: 3.938 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.008881, allocations: 19.98 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008884, allocations: 0 / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.008895, allocations: 11.94 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.008898, allocations: 3.938 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008899, allocations: 0 / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009066, allocations: 167.7 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.009111, allocations: 32.84 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.00913, allocations: 0 / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.009177, allocations: 11.98 kB / 0.7938 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.009222, allocations: 9.203 kB / 0.7939 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.009232, allocations: 8 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.00928, allocations: 139.1 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00928, allocations: 1.75 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002243/0.009504, allocations: 75.73 kB / 0.7941 GB, free: 5.305 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002394/0.009744, allocations: 174.9 kB / 0.7942 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.009898, allocations: 82.75 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.009901, allocations: 4 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.00996, allocations: 43.61 kB / 0.7944 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.01013, allocations: 17.45 kB / 0.7944 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.01079, allocations: 242.4 kB / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.01083, allocations: 64 kB / 0.7947 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.01088, allocations: 17.08 kB / 0.7947 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.01093, allocations: 20.5 kB / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.01093, allocations: 0 / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of Templates: time 0.004036/0.01496, allocations: 1.989 MB / 0.7966 GB, free: 2.629 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.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.213965319097042]