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.001952/0.001952, allocations: 102.9 kB / 16.45 MB, free: 6.5 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.002137/0.002137, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.329/3.329, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [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.002104/0.002104, allocations: 66.2 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3536, allocations: 176.1 MB / 1.321 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002155/0.3557, allocations: 0.7261 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.3584, allocations: 1.626 MB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.3585, allocations: 0 / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.3585, allocations: 11.88 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.3587, allocations: 27.84 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.3593, allocations: 159.5 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3595, allocations: 119.6 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3596, allocations: 16 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3598, allocations: 47.89 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3599, allocations: 55.77 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.3599, allocations: 12 kB / 1.324 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.3602, allocations: 123.9 kB / 1.324 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.3602, allocations: 27.95 kB / 1.324 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.3603, allocations: 47.73 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.3607, allocations: 219.5 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3607, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3607, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.3607, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 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.0008691/0.3616, allocations: 446.7 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3616, allocations: 11.98 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.3617, allocations: 34.75 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.362, allocations: 24.88 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3622, allocations: 180.3 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.3623, allocations: 42.2 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3623, allocations: 4.375 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3625, allocations: 104.2 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3625, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3625, allocations: 4 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3625, allocations: 4 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3626, allocations: 43.91 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.3634, allocations: 0.5243 MB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.364, allocations: 131.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.3641, allocations: 46.66 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3641, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.3643, allocations: 109.9 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.3643, allocations: 7.938 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003967/0.3647, allocations: 141.5 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.3648, allocations: 102.8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3649, allocations: 129.8 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.365, allocations: 29.7 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.365, allocations: 96.5 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3651, allocations: 39.8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.3652, allocations: 33.64 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3653, allocations: 322.8 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3654, allocations: 39.97 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.3655, allocations: 31.98 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3657, allocations: 87.25 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3657, allocations: 0 / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000281/0.366, allocations: 129.6 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.366, allocations: 8 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.366, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.366, allocations: 3.938 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3662, allocations: 19.98 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3662, allocations: 4.188 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3663, allocations: 15.83 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.3663, allocations: 15.98 kB / 1.327 GB, free: 13.08 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.0001299/0.3665, allocations: 123.9 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.3665, allocations: 15.94 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.3668, allocations: 110 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3668, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3668, allocations: 4 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3668, allocations: 3.938 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3671, allocations: 221.5 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3671, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3672, allocations: 23.98 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3672, allocations: 3.938 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3673, allocations: 8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3673, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3673, allocations: 0 / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3676, allocations: 170.7 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3677, allocations: 105 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3678, allocations: 4 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3679, allocations: 11.98 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.3679, allocations: 15.86 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.368, allocations: 8 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.014e-05/0.3681, allocations: 96.02 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3681, allocations: 0 / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004222/0.3685, allocations: 75.73 kB / 1.328 GB, free: 11.99 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.001076/0.3696, allocations: 0.773 MB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3699, allocations: 99.83 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3699, allocations: 3.938 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.37, allocations: 47.97 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3702, allocations: 22.17 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3724, allocations: 1.553 MB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3727, allocations: 0.704 MB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.047e-05/0.3728, allocations: 17.67 kB / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.3729, allocations: 35.42 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/0.3729, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3997, allocations: 3.215 MB / 1.334 GB, free: 5.516 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.566, allocations: 12 kB / 1.334 GB, free: 5.504 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] 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: 15.473723853006959]