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.001564/0.001564, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.001745/0.001745, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.608/1.608, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.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 3.636/3.636, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 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.00213/0.00213, allocations: 72.83 kB / 1.149 GB, free: 25.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4699, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002499/0.4724, allocations: 0.7261 MB / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.4751, allocations: 1.634 MB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.4752, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.4752, allocations: 7.875 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.4755, allocations: 27.84 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.476, allocations: 155.5 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4762, allocations: 123.6 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4763, allocations: 15.98 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.4765, allocations: 51.91 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4767, allocations: 55.75 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.4767, allocations: 12 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.477, allocations: 119.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.477, allocations: 23.97 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.4771, allocations: 51.78 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.4774, allocations: 223.1 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4775, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4775, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.4775, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 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.0008653/0.4783, allocations: 436.6 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4784, allocations: 11.98 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.4787, allocations: 28.88 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.4789, allocations: 180.3 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.479, allocations: 34.27 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.479, allocations: 8.375 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.4792, allocations: 109.7 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4792, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4792, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4792, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4793, allocations: 43.92 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.4801, allocations: 0.5167 MB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.4807, allocations: 135.7 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.4808, allocations: 46.59 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4808, allocations: 7.938 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.4811, allocations: 113.9 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.4811, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004554/0.4815, allocations: 141.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.4816, allocations: 110.7 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4818, allocations: 125.9 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.4818, allocations: 33.7 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.4819, allocations: 92.36 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.4819, allocations: 35.75 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.482, allocations: 33.69 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4822, allocations: 322.8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.4823, allocations: 31.98 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.4823, allocations: 39.97 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.4825, allocations: 87.42 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4825, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002824/0.4828, allocations: 133.5 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4828, allocations: 8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4828, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4829, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.483, allocations: 23.97 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.483, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.4831, allocations: 15.83 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.4831, allocations: 11.94 kB / 1.327 GB, free: 12.47 MB / 1.029 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 0.0001242/0.4832, allocations: 129.8 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.4833, allocations: 7.953 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.4835, allocations: 110 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4835, allocations: 0 / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4835, allocations: 4 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4835, allocations: 3.984 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.4838, allocations: 225.4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4838, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.4839, allocations: 16 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4839, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4839, allocations: 11.98 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4839, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4839, allocations: 0 / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4842, allocations: 178.6 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.4843, allocations: 96.98 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.4843, allocations: 8 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.4844, allocations: 7.984 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.4844, allocations: 15.97 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.4845, allocations: 11.92 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.4845, allocations: 99.27 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4845, allocations: 0 / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003136/0.4849, allocations: 71.73 kB / 1.328 GB, free: 11.38 MB / 1.029 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.0003189/0.4852, allocations: 183.5 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.4854, allocations: 95.89 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4854, allocations: 0 / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4856, allocations: 51.98 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4858, allocations: 14.12 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.4864, allocations: 237 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4868, allocations: 0.704 MB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4868, allocations: 20.41 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.4869, allocations: 23.42 kB / 1.329 GB, free: 9.992 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4869, allocations: 0 / 1.329 GB, free: 9.992 MB / 1.029 GB Notification: Performance of Templates: time 0.005739/0.4926, allocations: 1.957 MB / 1.331 GB, free: 8.039 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.996177797205746]