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.00181/0.00181, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002229/0.002229, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.549/1.549, allocations: 177.2 MB / 203.9 MB, free: 5.617 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.061/3.061, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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 2.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.389e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002177/0.002211, allocations: 0.7282 MB / 0.8115 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.005021, allocations: 1.541 MB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.005103, allocations: 5.344 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.005143, allocations: 7.875 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.00535, allocations: 23.72 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.00602, allocations: 172.9 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.006267, allocations: 120.4 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.006392, allocations: 15.97 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.006651, allocations: 74.03 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.006763, allocations: 43.88 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.006793, allocations: 12 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.007074, allocations: 115.8 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.007114, allocations: 28.44 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.007175, allocations: 27.92 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.007591, allocations: 252.6 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.007594, allocations: 0 / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.007595, allocations: 0 / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.0076, allocations: 1.156 kB / 0.8138 GB, free: 15 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.0008196/0.00842, allocations: 355.1 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.008458, allocations: 8.031 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.008841, allocations: 42.31 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.008986, allocations: 113.7 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.009089, allocations: 67.95 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.009109, allocations: 6.469 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.009319, allocations: 96.8 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.009329, allocations: 4.125 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.009345, allocations: 4.125 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.009352, allocations: 4 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.009473, allocations: 42.22 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007247/0.0102, allocations: 460.7 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.01073, allocations: 140.7 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.01082, allocations: 44.53 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.01084, allocations: 4 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.01111, allocations: 117.8 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01111, allocations: 0 / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0004001/0.01151, allocations: 147.7 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.0116, allocations: 110.8 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.01174, allocations: 125.8 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.01178, allocations: 33.7 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.01185, allocations: 84.42 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.0119, allocations: 36.22 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.01197, allocations: 33.7 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.01214, allocations: 323.9 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01225, allocations: 31.98 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.01235, allocations: 36.64 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01254, allocations: 74.81 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.01255, allocations: 8.938 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003157/0.01287, allocations: 137.5 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01288, allocations: 4.844 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01289, allocations: 0 / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.01291, allocations: 5.562 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01304, allocations: 20.23 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01305, allocations: 7.938 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.01314, allocations: 11.98 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01316, allocations: 4.969 kB / 0.8165 GB, free: 12.07 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.0001262/0.01328, allocations: 128.5 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.01332, allocations: 11.95 kB / 0.8166 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.0136, allocations: 123 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01361, allocations: 4.234 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01362, allocations: 0 / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01362, allocations: 5.016 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.01381, allocations: 141.4 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01381, allocations: 7.938 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.01391, allocations: 16.95 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01392, allocations: 4 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01393, allocations: 5.688 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01394, allocations: 4 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01394, allocations: 0 / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.01427, allocations: 187.6 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.01433, allocations: 23.86 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.01435, allocations: 8.5 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.01444, allocations: 5.344 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.01451, allocations: 15.97 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01452, allocations: 8 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.083e-05/0.0146, allocations: 101.1 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0146, allocations: 0 / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000324/0.01493, allocations: 64.34 kB / 0.8173 GB, free: 11.16 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.0003371/0.01527, allocations: 184.2 kB / 0.8175 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.01556, allocations: 101.4 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01556, allocations: 3.375 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01567, allocations: 51.86 kB / 0.8176 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01591, allocations: 21.81 kB / 0.8176 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.01647, allocations: 227 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01657, allocations: 91.55 kB / 0.8179 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.837e-05/0.01664, allocations: 9.125 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.0167, allocations: 21.42 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.0167, allocations: 0 / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.006123/0.02282, allocations: 1.997 MB / 0.8199 GB, free: 8.453 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=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: 8.078644520021044]