Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00133/0.00133, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001584/0.001584, allocations: 159.1 kB / 23.01 MB, free: 4.602 MB / 14.72 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.975/2.975, allocations: 377.9 MB / 0.6228 GB, free: 12.71 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 70.03 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9701/0.9724, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001779/0.9742, allocations: 0.7035 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.976, allocations: 1.552 MB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.976, allocations: 3.031 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.976, allocations: 3.938 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.9762, allocations: 22.09 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.9766, allocations: 170.1 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.9768, allocations: 115.4 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.9769, allocations: 16.42 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.9771, allocations: 53.27 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.9772, allocations: 46.75 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.9772, allocations: 11.97 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.9774, allocations: 116.8 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.9774, allocations: 29.2 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.9775, allocations: 35.95 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.9777, allocations: 222.9 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9777, allocations: 4 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9777, allocations: 0 / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9777, allocations: 2.781 kB / 1.157 GB, free: 31.45 MB / 1.076 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.0006179/0.9784, allocations: 355.1 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.9784, allocations: 8.312 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.9787, allocations: 31.41 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.9788, allocations: 123.9 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-05/0.9789, allocations: 57.38 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.9789, allocations: 10.2 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9791, allocations: 102.1 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9791, allocations: 3.938 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.9791, allocations: 6.688 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9791, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.9792, allocations: 42.06 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.9797, allocations: 467.9 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.9801, allocations: 135.5 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.9802, allocations: 39.36 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.9802, allocations: 2.938 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.9804, allocations: 120.3 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.9804, allocations: 6.594 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0003123/0.9808, allocations: 144.1 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.9808, allocations: 105.3 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.9809, allocations: 122.5 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.9809, allocations: 36.27 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.9809, allocations: 91.19 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.9809, allocations: 29.11 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.981, allocations: 38.61 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.981, allocations: 324.7 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.9811, allocations: 36.16 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.9812, allocations: 38.11 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.9814, allocations: 78.83 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9814, allocations: 0 / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002052/0.9816, allocations: 127 kB / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9816, allocations: 7.812 kB / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9816, allocations: 0 / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.9816, allocations: 2.781 kB / 1.159 GB, free: 29.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.9817, allocations: 24.42 kB / 1.159 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.9817, allocations: 2.5 kB / 1.159 GB, free: 29.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.9818, allocations: 13.98 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.9818, allocations: 9.406 kB / 1.16 GB, free: 29.21 MB / 1.076 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 7.651e-05/0.9819, allocations: 127.5 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.9819, allocations: 10.16 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.9821, allocations: 118.8 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9821, allocations: 48 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9821, allocations: 6.891 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.9821, allocations: 0 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.9823, allocations: 154 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9823, allocations: 4 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.9824, allocations: 21.38 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9824, allocations: 2.906 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.9824, allocations: 4 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9824, allocations: 2.719 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9824, allocations: 320 / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.9826, allocations: 181.5 kB / 1.16 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.9827, allocations: 24.22 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.9827, allocations: 2.75 kB / 1.16 GB, free: 28.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.9828, allocations: 16.75 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.9828, allocations: 16.3 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.9828, allocations: 6.656 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.9829, allocations: 93.91 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9829, allocations: 0 / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004002/0.9833, allocations: 73.28 kB / 1.16 GB, free: 28.58 MB / 1.076 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.0002295/0.9835, allocations: 173.6 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.9837, allocations: 94.55 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9837, allocations: 0 / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.9838, allocations: 48.94 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.984, allocations: 13.91 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.9844, allocations: 234.4 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.9845, allocations: 90.48 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.045e-05/0.9845, allocations: 17.12 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.9846, allocations: 24.91 kB / 1.161 GB, free: 28.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.9846, allocations: 0 / 1.161 GB, free: 28.13 MB / 1.076 GB Notification: Performance of Templates: time 0.005183/0.9897, allocations: 1.936 MB / 1.163 GB, free: 27.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.17533625906799]