Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001551/0.001551, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001144/0.001144, allocations: 169 kB / 24.06 MB, free: 456 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.08/1.08, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.259/2.259, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8794 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.232e-05, allocations: 3.781 kB / 0.8794 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00283/0.002862, allocations: 0.7228 MB / 0.8801 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.004756, allocations: 1.579 MB / 0.8816 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.004836, allocations: 5.406 kB / 0.8816 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.004873, allocations: 3.938 kB / 0.8816 GB, free: 2.609 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.005065, allocations: 27.78 kB / 0.8816 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.005524, allocations: 169.3 kB / 0.8818 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.005691, allocations: 123.6 kB / 0.8819 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.005793, allocations: 13.33 kB / 0.8819 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006038, allocations: 75.81 kB / 0.882 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.006168, allocations: 43.88 kB / 0.882 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.006202, allocations: 13.59 kB / 0.8821 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.006449, allocations: 115.9 kB / 0.8822 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.006491, allocations: 31.89 kB / 0.8822 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.006533, allocations: 27.92 kB / 0.8822 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.0068, allocations: 200.8 kB / 0.8824 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.006805, allocations: 0 / 0.8824 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006807, allocations: 0 / 0.8824 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.006813, allocations: 0 / 0.8824 GB, free: 1.789 MB / 0.7917 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.0005763/0.007389, allocations: 467 kB / 0.8829 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.007433, allocations: 12.03 kB / 0.8829 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.007681, allocations: 28.81 kB / 0.8829 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.007843, allocations: 148.5 kB / 0.883 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.007909, allocations: 55.97 kB / 0.8831 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.007923, allocations: 8.375 kB / 0.8831 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.008076, allocations: 109.9 kB / 0.8832 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.008085, allocations: 192 / 0.8832 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008098, allocations: 8.125 kB / 0.8832 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.008105, allocations: 4 kB / 0.8832 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.008153, allocations: 23.91 kB / 0.8832 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.008632, allocations: 0.5567 MB / 0.8838 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.008952, allocations: 137.2 kB / 0.8839 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.008993, allocations: 43.03 kB / 0.884 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.009015, allocations: 7.922 kB / 0.884 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.009176, allocations: 112 kB / 0.8841 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 2.013e-06/0.009178, allocations: 4 kB / 0.8841 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002344/0.009413, allocations: 117.5 kB / 0.8842 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.009471, allocations: 102.8 kB / 0.8843 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.334e-05/0.009564, allocations: 181.9 kB / 0.8845 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.009582, allocations: 29.7 kB / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.009643, allocations: 151.1 kB / 0.8846 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.009673, allocations: 31.73 kB / 0.8847 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.009724, allocations: 39.34 kB / 0.8847 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.009862, allocations: 0.4884 MB / 0.8852 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.009921, allocations: 15.98 kB / 0.8852 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.009951, allocations: 17.53 kB / 0.8852 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.01002, allocations: 52.86 kB / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01003, allocations: 0 / 0.8853 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001331/0.01016, allocations: 108.5 kB / 0.8854 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01017, allocations: 4 kB / 0.8854 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01018, allocations: 256 / 0.8854 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01019, allocations: 3.984 kB / 0.8854 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.01028, allocations: 27.92 kB / 0.8854 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01028, allocations: 7.938 kB / 0.8854 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.01033, allocations: 7.953 kB / 0.8854 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.01034, allocations: 0 / 0.8854 GB, free: 14.43 MB / 0.8073 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 9.092e-05/0.01043, allocations: 172.5 kB / 0.8856 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01045, allocations: 19.89 kB / 0.8856 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.01061, allocations: 97.97 kB / 0.8857 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01062, allocations: 0 / 0.8857 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01062, allocations: 4 kB / 0.8857 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.01062, allocations: 3.984 kB / 0.8857 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01074, allocations: 125.2 kB / 0.8858 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01074, allocations: 4 kB / 0.8858 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.0108, allocations: 19.98 kB / 0.8858 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.0108, allocations: 7.938 kB / 0.8858 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01082, allocations: 7.938 kB / 0.8859 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01082, allocations: 4 kB / 0.8859 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01082, allocations: 0 / 0.8859 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.011, allocations: 163.9 kB / 0.886 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.01104, allocations: 15.94 kB / 0.886 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01106, allocations: 15.92 kB / 0.886 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.0111, allocations: 7.984 kB / 0.8861 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.01114, allocations: 15.92 kB / 0.8861 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.01115, allocations: 7.984 kB / 0.8861 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.01121, allocations: 140.7 kB / 0.8862 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 0.8862 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002574/0.01147, allocations: 75.7 kB / 0.8863 GB, free: 13.46 MB / 0.8073 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.0002424/0.01171, allocations: 170.9 kB / 0.8864 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01186, allocations: 67.52 kB / 0.8865 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01186, allocations: 0 / 0.8865 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.01192, allocations: 51.53 kB / 0.8866 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.0121, allocations: 18.36 kB / 0.8866 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.01268, allocations: 249.7 kB / 0.8868 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01272, allocations: 63.34 kB / 0.8869 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01278, allocations: 17.48 kB / 0.8869 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.01286, allocations: 82.2 kB / 0.887 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.01286, allocations: 0 / 0.887 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.004594/0.01745, allocations: 2.242 MB / 0.8892 GB, free: 10.46 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.879411539062858]