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.001324/0.001324, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001647/0.001647, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_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.002066/0.002066, allocations: 68.61 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002413/0.3434, allocations: 0.7276 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.3461, allocations: 1.636 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.3462, allocations: 4 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.3463, allocations: 7.875 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.3465, allocations: 19.84 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.3471, allocations: 163.5 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3473, allocations: 127.6 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3475, allocations: 11.94 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.3477, allocations: 63.83 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3478, allocations: 43.83 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3479, allocations: 12 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3482, allocations: 123.9 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.3482, allocations: 23.97 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.3483, allocations: 51.73 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.3488, allocations: 215.5 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3488, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3488, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3488, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 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.0008433/0.3496, allocations: 369.6 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3497, allocations: 8.031 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3497, allocations: 42.73 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.3501, allocations: 24.88 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3502, allocations: 114.4 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3503, allocations: 71.89 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3503, allocations: 8.375 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3505, allocations: 98.17 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3505, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3505, allocations: 4 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3505, allocations: 3.938 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.3507, allocations: 51.91 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.3514, allocations: 0.4922 MB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3519, allocations: 127.8 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.3519, allocations: 42.66 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.352, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.3522, allocations: 113.9 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3522, allocations: 3.938 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003709/0.3526, allocations: 137.5 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3527, allocations: 106.8 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3528, allocations: 129.9 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.3528, allocations: 33.7 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.3529, allocations: 92.38 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3529, allocations: 35.8 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.353, allocations: 33.7 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3532, allocations: 326.8 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.3533, allocations: 31.98 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.105e-05/0.3534, allocations: 35.98 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3536, allocations: 86.97 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3536, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002692/0.3538, allocations: 129.6 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3538, allocations: 10.28 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3538, allocations: 0 / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3539, allocations: 4 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.354, allocations: 16.23 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.354, allocations: 7.938 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.624e-05/0.3541, allocations: 27.81 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3541, allocations: 4 kB / 1.289 GB, free: 5.367 MB / 0.9825 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.0001109/0.3542, allocations: 124.1 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.3542, allocations: 8.141 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3545, allocations: 113.9 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3545, allocations: 4 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3545, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3545, allocations: 3.938 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3547, allocations: 196.6 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3547, allocations: 4 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3548, allocations: 19.98 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3548, allocations: 3.938 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3548, allocations: 4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3548, allocations: 4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3548, allocations: 0 / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3551, allocations: 174.7 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3552, allocations: 23.88 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3552, allocations: 4 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.3553, allocations: 11.98 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3553, allocations: 19.86 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3554, allocations: 7.984 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.092e-05/0.3554, allocations: 99.27 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3554, allocations: 0 / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003163/0.3557, allocations: 63.75 kB / 1.29 GB, free: 4.414 MB / 0.9825 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.0007518/0.3565, allocations: 0.7896 MB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.3568, allocations: 91.91 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3568, allocations: 7.938 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.3569, allocations: 52.09 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3571, allocations: 13.48 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.359, allocations: 1.559 MB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3593, allocations: 0.7002 MB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.554e-05/0.3593, allocations: 16.23 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.3594, allocations: 31.42 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3594, allocations: 0 / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3897, allocations: 3.38 MB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 1.016 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.50613686395809]