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.001619/0.001619, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002533/0.002533, allocations: 213.8 kB / 22.99 MB, free: 4.941 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.211/3.211, allocations: 0.4892 GB / 0.7951 GB, free: 35.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.002068/0.002068, allocations: 59.72 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001982/0.3347, allocations: 0.7145 MB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.337, allocations: 1.548 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.3371, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.3371, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.3373, allocations: 27.86 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.3378, allocations: 167.4 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3379, allocations: 111.8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.338, allocations: 11.98 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3382, allocations: 59.77 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.3383, allocations: 47.81 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.3383, allocations: 16 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3386, allocations: 119.9 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.3386, allocations: 23.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3387, allocations: 39.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.339, allocations: 215.3 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.339, allocations: 3.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.339, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.339, allocations: 0 / 1.329 GB, free: 14.79 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.0007062/0.3397, allocations: 367.4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.3397, allocations: 8.031 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.34, allocations: 24.88 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3402, allocations: 126.3 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.3403, allocations: 71.91 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3403, allocations: 4.375 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3405, allocations: 104.3 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3405, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3405, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3405, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3406, allocations: 47.91 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.3412, allocations: 444.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.3417, allocations: 135.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.3418, allocations: 46.66 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3418, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.3421, allocations: 121.9 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 3.477e-06/0.3421, allocations: 3.984 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003561/0.3425, allocations: 141.5 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.3425, allocations: 106.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3427, allocations: 125.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3427, allocations: 33.7 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.3428, allocations: 96.48 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.3428, allocations: 27.75 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3429, allocations: 37.69 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.343, allocations: 322.8 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.3431, allocations: 35.98 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.3432, allocations: 42.44 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3434, allocations: 80.78 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3434, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002469/0.3436, allocations: 125.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3436, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3436, allocations: 7.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3437, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3438, allocations: 23.92 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3438, allocations: 256 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.3439, allocations: 15.89 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3439, allocations: 8 kB / 1.332 GB, free: 11.85 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.0001189/0.344, allocations: 131.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.344, allocations: 7.953 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3443, allocations: 110 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3443, allocations: 7.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3443, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3443, allocations: 3.938 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3445, allocations: 157.1 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3445, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.3446, allocations: 19.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3446, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3446, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3446, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3446, allocations: 4.234 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3449, allocations: 180.2 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3449, allocations: 19.88 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3449, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.345, allocations: 11.92 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.3451, allocations: 11.98 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3451, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.605e-05/0.3452, allocations: 100.6 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3452, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002994/0.3455, allocations: 67.73 kB / 1.333 GB, free: 10.93 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.000248/0.3457, allocations: 178.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.346, allocations: 94.86 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.346, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.3461, allocations: 43.92 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3463, allocations: 15.98 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.3467, allocations: 263.4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.81e-05/0.3468, allocations: 89.31 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.3469, allocations: 15.44 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3469, allocations: 4 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of Templates: time 0.003973/0.3508, allocations: 2.046 MB / 1.335 GB, free: 8.133 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: 11.047677838709205]