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.001421/0.001421, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001681/0.001681, allocations: 164.2 kB / 22.46 MB, free: 5.375 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.461/1.461, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.918/2.918, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] 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 2.054e-06/2.054e-06, allocations: 0 / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.393e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002394/0.002428, allocations: 0.7037 MB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.005305, allocations: 1.553 MB / 0.9531 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.005401, allocations: 8 kB / 0.9531 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.005443, allocations: 7.875 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.005641, allocations: 15.86 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.006255, allocations: 175.2 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.00648, allocations: 111.7 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.006609, allocations: 19.97 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.006914, allocations: 75.81 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.007051, allocations: 39.94 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.007091, allocations: 12 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.007408, allocations: 119.8 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.007452, allocations: 27.91 kB / 0.9537 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.007521, allocations: 35.91 kB / 0.9538 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.008014, allocations: 247.2 kB / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.008019, allocations: 0 / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00802, allocations: 0 / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.008026, allocations: 0 / 0.954 GB, free: 8.41 MB / 0.8575 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.0009183/0.008945, allocations: 365.6 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.008996, allocations: 12.02 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.009364, allocations: 24.88 kB / 0.9544 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.009515, allocations: 121.7 kB / 0.9545 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.009677, allocations: 59.97 kB / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.009704, allocations: 12.36 kB / 0.9546 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.009941, allocations: 106.2 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.009953, allocations: 192 / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.009972, allocations: 8.125 kB / 0.9547 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.009978, allocations: 0 / 0.9547 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.0101, allocations: 39.97 kB / 0.9547 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.01081, allocations: 448.8 kB / 0.9551 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.01136, allocations: 143.7 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.01145, allocations: 38.66 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01147, allocations: 4 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.01179, allocations: 117.9 kB / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.01179, allocations: 0 / 0.9554 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000403/0.0122, allocations: 145.5 kB / 0.9556 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.01228, allocations: 106.8 kB / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01242, allocations: 137.9 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.01245, allocations: 25.7 kB / 0.9558 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.01253, allocations: 96.31 kB / 0.9559 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.01258, allocations: 31.73 kB / 0.9559 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.01265, allocations: 37.7 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.01283, allocations: 318.8 kB / 0.9563 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.01293, allocations: 35.98 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.01303, allocations: 42.59 kB / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.01324, allocations: 72.84 kB / 0.9564 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.01324, allocations: 3.938 kB / 0.9564 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002895/0.01353, allocations: 134.9 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.01355, allocations: 4 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01356, allocations: 0 / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.01358, allocations: 4.188 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01371, allocations: 23.98 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.01372, allocations: 3.938 kB / 0.9566 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.01382, allocations: 15.89 kB / 0.9566 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01384, allocations: 7.969 kB / 0.9566 GB, free: 5.469 MB / 0.8575 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.0001296/0.01397, allocations: 129.7 kB / 0.9567 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.014, allocations: 11.95 kB / 0.9568 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.01428, allocations: 110.1 kB / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.01428, allocations: 4 kB / 0.9569 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01429, allocations: 0 / 0.9569 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01429, allocations: 3.938 kB / 0.9569 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.01448, allocations: 153.2 kB / 0.957 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/0.01451, allocations: 3.938 kB / 0.957 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.0146, allocations: 19.98 kB / 0.957 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.0146, allocations: 0 / 0.957 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01462, allocations: 8 kB / 0.957 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01462, allocations: 4 kB / 0.9571 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01462, allocations: 0 / 0.9571 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.01494, allocations: 170.7 kB / 0.9572 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.01502, allocations: 27.81 kB / 0.9572 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.01505, allocations: 7.938 kB / 0.9572 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.01513, allocations: 7.984 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.01521, allocations: 15.98 kB / 0.9573 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01523, allocations: 7.984 kB / 0.9573 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.01533, allocations: 100.3 kB / 0.9574 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01533, allocations: 4 kB / 0.9574 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003833/0.01571, allocations: 67.7 kB / 0.9574 GB, free: 4.559 MB / 0.8575 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.00041/0.01612, allocations: 182.9 kB / 0.9576 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.01644, allocations: 94.77 kB / 0.9577 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01644, allocations: 0 / 0.9577 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01656, allocations: 52.05 kB / 0.9578 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01682, allocations: 12.06 kB / 0.9578 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.01746, allocations: 235.5 kB / 0.958 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.01758, allocations: 89.39 kB / 0.9581 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.01765, allocations: 15.73 kB / 0.9581 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.01771, allocations: 16.5 kB / 0.9581 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.01771, allocations: 4 kB / 0.9581 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.006567/0.02427, allocations: 1.958 MB / 0.96 GB, free: 1.871 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.355476435273886]