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.001948/0.001948, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.002218/0.002218, allocations: 218.1 kB / 22.25 MB, free: 5.266 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.801 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.327/3.327, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.002025/0.002025, allocations: 66.72 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002048/0.3491, allocations: 0.713 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.3514, allocations: 1.544 MB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.3514, allocations: 4 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.3515, allocations: 7.922 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.3517, allocations: 23.8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.3521, allocations: 167.4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3523, allocations: 111.7 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3524, allocations: 20.27 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.3526, allocations: 51.83 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3527, allocations: 51.81 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3527, allocations: 12 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.3529, allocations: 123.9 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.353, allocations: 27.92 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.353, allocations: 35.86 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3534, allocations: 219.3 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3534, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3534, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3534, allocations: 0 / 1.329 GB, free: 14.43 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.0007472/0.3541, allocations: 365.6 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3542, allocations: 12.03 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.266e-05/0.3542, allocations: 42.73 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.3545, allocations: 24.88 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3547, allocations: 118.4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.3548, allocations: 63.97 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3548, allocations: 8.359 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.355, allocations: 111.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.355, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.355, allocations: 3.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.355, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3551, allocations: 47.91 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.3558, allocations: 476.2 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3564, allocations: 131.7 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.3565, allocations: 42.66 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3565, allocations: 4 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.3568, allocations: 113.8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3568, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003514/0.3571, allocations: 145.5 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.3572, allocations: 110.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3573, allocations: 125.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.3574, allocations: 29.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.3574, allocations: 100.4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.3575, allocations: 27.75 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.3576, allocations: 41.83 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3577, allocations: 322.8 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3579, allocations: 35.98 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.358, allocations: 35.98 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3582, allocations: 83.41 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3582, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002751/0.3584, allocations: 129.6 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3584, allocations: 4 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3585, allocations: 0 / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3585, allocations: 4 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3586, allocations: 23.98 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3586, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3587, allocations: 23.81 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3587, allocations: 4 kB / 1.332 GB, free: 11.41 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.0001596/0.3589, allocations: 123.1 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3589, allocations: 11.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3592, allocations: 114.1 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3592, allocations: 8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3592, allocations: 3.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3592, allocations: 7.922 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3594, allocations: 180.6 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3594, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3595, allocations: 19.98 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3595, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3596, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3596, allocations: 7.938 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3596, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3598, allocations: 178.6 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.3599, allocations: 27.88 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.3599, allocations: 4 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.36, allocations: 7.984 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.3601, allocations: 19.92 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3601, allocations: 7.984 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.3602, allocations: 99.27 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3602, allocations: 0 / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.3605, allocations: 63.75 kB / 1.332 GB, free: 10.45 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.0008501/0.3614, allocations: 0.7914 MB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3616, allocations: 91.91 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3616, allocations: 4 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3617, allocations: 47.92 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.362, allocations: 21.12 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.364, allocations: 1.55 MB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.3641, allocations: 89.23 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.3642, allocations: 24.47 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.3643, allocations: 31.42 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.3643, allocations: 4 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3977, allocations: 3.816 MB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 11.98 kB / 1.339 GB, free: 3.969 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.581153570994502]