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.001292/0.001292, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001499/0.001499, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.151/3.151, allocations: 0.49 GB / 0.7958 GB, free: 33.44 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.002063/0.002063, allocations: 69.95 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002015/0.3618, allocations: 0.7288 MB / 1.328 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.3641, allocations: 1.63 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.3642, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.3642, allocations: 7.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.3644, allocations: 23.78 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.3649, allocations: 171.4 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.365, allocations: 111.7 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3651, allocations: 15.98 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3653, allocations: 55.84 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3654, allocations: 51.77 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3655, allocations: 12 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.3657, allocations: 123.9 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.3657, allocations: 27.97 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.3658, allocations: 43.8 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.3662, allocations: 223.2 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3662, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3662, allocations: 0 / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3662, allocations: 0 / 1.33 GB, free: 14.26 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.0007534/0.3669, allocations: 365.6 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.367, allocations: 11.97 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3673, allocations: 24.88 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3674, allocations: 114.4 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3675, allocations: 71.95 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3676, allocations: 12.38 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3678, allocations: 100.3 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3678, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.3678, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3678, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3679, allocations: 51.95 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.3687, allocations: 496.1 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.3692, allocations: 139.7 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.3692, allocations: 42.66 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3693, allocations: 0 / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3695, allocations: 121.8 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3695, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003738/0.3699, allocations: 149.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.37, allocations: 110.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3701, allocations: 121.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3701, allocations: 33.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.3702, allocations: 92.56 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3703, allocations: 35.73 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3703, allocations: 37.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3705, allocations: 322.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3706, allocations: 35.98 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.3707, allocations: 35.98 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3708, allocations: 76.78 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3708, allocations: 3.938 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000265/0.3711, allocations: 131.7 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3711, allocations: 11.94 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3711, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3711, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3713, allocations: 23.98 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3713, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.3714, allocations: 11.89 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3714, allocations: 15.86 kB / 1.333 GB, free: 11.25 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.0001061/0.3715, allocations: 117.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3715, allocations: 11.95 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3718, allocations: 118.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3718, allocations: 4.031 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3718, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3718, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.372, allocations: 200.4 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.372, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.3721, allocations: 19.98 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3721, allocations: 4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3721, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3721, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3721, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3724, allocations: 179 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3724, allocations: 19.88 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3725, allocations: 12 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.3726, allocations: 11.98 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3726, allocations: 15.92 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3726, allocations: 4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.3727, allocations: 100.3 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003139/0.373, allocations: 71.73 kB / 1.334 GB, free: 10.29 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.0002879/0.3733, allocations: 179.9 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3736, allocations: 86.78 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3736, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.3737, allocations: 55.84 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.3739, allocations: 17.02 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.3744, allocations: 259.1 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3748, allocations: 0.7079 MB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.3748, allocations: 15.44 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3748, allocations: 0 / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of Templates: time 0.004402/0.3792, allocations: 2.026 MB / 1.337 GB, free: 6.887 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/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: 10.95554728800198]