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.001284/0.001284, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002598/0.002598, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 8.004 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.917/2.917, allocations: 476.8 MB / 0.7707 GB, free: 4.25 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.002098/0.002098, allocations: 70.92 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3361, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002092/0.3382, allocations: 0.7275 MB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3407, allocations: 1.643 MB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.3408, allocations: 0 / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.3408, allocations: 3.938 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.341, allocations: 27.73 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.3415, allocations: 163.5 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3417, allocations: 119.7 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3418, allocations: 15.94 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.342, allocations: 59.77 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3421, allocations: 47.83 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3422, allocations: 16 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.3424, allocations: 123.9 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.3424, allocations: 23.97 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.3425, allocations: 39.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.3429, allocations: 223.5 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3429, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3429, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3429, allocations: 0 / 1.286 GB, free: 8.562 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.0008379/0.3437, allocations: 371.6 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3438, allocations: 8.031 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.3438, allocations: 42.67 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.3442, allocations: 24.88 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3443, allocations: 118.4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/0.3444, allocations: 63.95 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3444, allocations: 4.375 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3446, allocations: 104.6 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3447, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3447, allocations: 8 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3447, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3448, allocations: 47.91 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.3455, allocations: 0.4883 MB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.3459, allocations: 135.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.346, allocations: 42.66 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3461, allocations: 4 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.3464, allocations: 113.9 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.3464, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003619/0.3467, allocations: 145.5 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.3468, allocations: 110.8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3469, allocations: 129.8 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.347, allocations: 25.7 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.347, allocations: 92.38 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.3471, allocations: 39.92 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.3471, allocations: 37.7 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3473, allocations: 322.8 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.3474, allocations: 35.98 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.3475, allocations: 39.92 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3476, allocations: 79.73 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3476, allocations: 256 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002567/0.3479, allocations: 133.5 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3479, allocations: 8 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3479, allocations: 7.938 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3479, allocations: 4 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3481, allocations: 15.98 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3481, allocations: 4 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.3482, allocations: 15.83 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3482, allocations: 11.98 kB / 1.289 GB, free: 5.504 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.0001278/0.3483, allocations: 119.8 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.3483, allocations: 15.95 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3486, allocations: 106 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3486, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3486, allocations: 3.938 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3486, allocations: 3.938 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3488, allocations: 192.6 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3488, allocations: 4 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.3489, allocations: 15.98 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3489, allocations: 4 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3489, allocations: 8 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3489, allocations: 4 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3489, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3492, allocations: 170.6 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3493, allocations: 28.11 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3493, allocations: 4 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.3494, allocations: 15.98 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.3494, allocations: 15.91 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3495, allocations: 8 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.3495, allocations: 97.64 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003445/0.3499, allocations: 71.73 kB / 1.29 GB, free: 4.551 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.0008041/0.3507, allocations: 0.7777 MB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.351, allocations: 107.3 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.351, allocations: 0 / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.3511, allocations: 43.92 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3513, allocations: 22.27 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3533, allocations: 1.552 MB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3537, allocations: 0.7041 MB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.3538, allocations: 20.11 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.3539, allocations: 27.42 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3539, allocations: 4 kB / 1.293 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.384, allocations: 3.37 MB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.2, allocations: 5.016 kB / 1.297 GB, free: 13.91 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 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.csv","/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.33439454099971]