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.002318/0.002318, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.00262/0.00262, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.647/1.647, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.074/3.074, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 5.159e-06/5.159e-06, allocations: 5.094 kB / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/3.191e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001978/0.00201, allocations: 0.7263 MB / 0.8115 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.00454, allocations: 1.576 MB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.004593, allocations: 0 / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.004621, allocations: 3.938 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.004808, allocations: 25.31 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.00529, allocations: 172.6 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.005491, allocations: 123.6 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.005582, allocations: 8 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.0058, allocations: 73.59 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005905, allocations: 43.88 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.005936, allocations: 12 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.006193, allocations: 117.9 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.00624, allocations: 31.89 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.006305, allocations: 31.91 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.006719, allocations: 243.3 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.006723, allocations: 0 / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.006725, allocations: 0 / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.00673, allocations: 0.5312 kB / 0.8139 GB, free: 14.87 MB / 0.7761 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.000858/0.007588, allocations: 469.8 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.007628, allocations: 8.031 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.008001, allocations: 37.44 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.008163, allocations: 125.5 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.008259, allocations: 63.91 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.00828, allocations: 8.375 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.008502, allocations: 110 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.008511, allocations: 192 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.008533, allocations: 8.812 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.008538, allocations: 1.281 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.008658, allocations: 43.92 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.009463, allocations: 0.6007 MB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.01003, allocations: 166.1 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.01013, allocations: 51.06 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.01016, allocations: 10.39 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.0104, allocations: 132 kB / 0.8156 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.01041, allocations: 0 / 0.8156 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003987/0.0108, allocations: 145.7 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.01089, allocations: 106.8 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.01108, allocations: 197.7 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.01111, allocations: 33.7 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01122, allocations: 143.1 kB / 0.8162 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.01126, allocations: 39.77 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.01135, allocations: 47.36 kB / 0.8163 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005199/0.01187, allocations: 0.4923 MB / 0.8168 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.01198, allocations: 39.92 kB / 0.8168 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.01207, allocations: 35.98 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01226, allocations: 85.02 kB / 0.8169 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.01226, allocations: 4.75 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002913/0.01255, allocations: 133.5 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.01257, allocations: 8.5 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01258, allocations: 0.5625 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.0126, allocations: 3.984 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01273, allocations: 24.48 kB / 0.8171 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01274, allocations: 5.531 kB / 0.8171 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.01284, allocations: 11.98 kB / 0.8171 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.01285, allocations: 8 kB / 0.8171 GB, free: 11.23 MB / 0.7761 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.0001486/0.013, allocations: 169.2 kB / 0.8173 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.01303, allocations: 12.52 kB / 0.8173 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.01331, allocations: 118.7 kB / 0.8174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.01332, allocations: 4.938 kB / 0.8174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01332, allocations: 0 / 0.8174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01332, allocations: 0 / 0.8174 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.01354, allocations: 165.9 kB / 0.8176 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.01354, allocations: 3.938 kB / 0.8176 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01366, allocations: 27.92 kB / 0.8176 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01366, allocations: 1.219 kB / 0.8176 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01367, allocations: 4 kB / 0.8176 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01368, allocations: 0 / 0.8176 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01368, allocations: 0 / 0.8176 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.01403, allocations: 206.5 kB / 0.8178 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.01409, allocations: 27.86 kB / 0.8178 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01411, allocations: 7.938 kB / 0.8179 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.01419, allocations: 8 kB / 0.8179 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.01425, allocations: 15.97 kB / 0.8179 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01427, allocations: 4 kB / 0.8179 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001079/0.01438, allocations: 147.2 kB / 0.818 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01438, allocations: 0 / 0.818 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003021/0.01468, allocations: 67.69 kB / 0.8181 GB, free: 10.19 MB / 0.7761 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.0003166/0.01499, allocations: 179.9 kB / 0.8183 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.01527, allocations: 115.5 kB / 0.8184 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01528, allocations: 1.062 kB / 0.8184 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.01541, allocations: 63.59 kB / 0.8184 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01562, allocations: 19.62 kB / 0.8185 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.01617, allocations: 246.2 kB / 0.8187 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.01627, allocations: 91.38 kB / 0.8188 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.017e-05/0.01634, allocations: 17.08 kB / 0.8188 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.01639, allocations: 16.5 kB / 0.8188 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01639, allocations: 0.5 kB / 0.8188 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of Templates: time 0.006138/0.02253, allocations: 1.999 MB / 0.8208 GB, free: 7.426 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] 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: 8.34950943395961]