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.001331/0.001331, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00153/0.00153, allocations: 218.7 kB / 22.25 MB, free: 5.102 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.805 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.302/3.302, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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.00202/0.00202, allocations: 65.3 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002299/0.3466, allocations: 0.7153 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3492, allocations: 1.544 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.3493, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.3493, allocations: 7.875 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3495, allocations: 23.84 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.3501, allocations: 163.4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3503, allocations: 123.6 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3505, allocations: 16.27 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.3507, allocations: 55.84 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3508, allocations: 47.83 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3508, allocations: 8 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.3511, allocations: 123.9 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.3511, allocations: 27.95 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3512, allocations: 39.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.3516, allocations: 227.2 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3516, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3516, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3516, allocations: 4 kB / 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.0007662/0.3523, allocations: 361.6 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3524, allocations: 11.97 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.3524, allocations: 34.75 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.3528, allocations: 24.88 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3529, allocations: 130.4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.353, allocations: 55.97 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.353, allocations: 8.375 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3532, allocations: 107.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3533, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3533, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3533, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3534, allocations: 47.91 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.3541, allocations: 472.2 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.3546, allocations: 135.7 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.3547, allocations: 46.66 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3547, allocations: 3.938 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.355, allocations: 113.9 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.355, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000345/0.3554, allocations: 145.5 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.3554, allocations: 106.8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3555, allocations: 129.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3556, allocations: 33.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.3557, allocations: 88.38 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3557, allocations: 35.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.3558, allocations: 37.64 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3559, allocations: 326.8 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.356, allocations: 31.98 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.3561, allocations: 35.98 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3563, allocations: 83.3 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3563, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002573/0.3565, allocations: 129.5 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3565, allocations: 8 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3565, allocations: 192 / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3566, allocations: 0 / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3567, allocations: 19.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3567, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.3568, allocations: 27.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3568, allocations: 4 kB / 1.332 GB, free: 11.42 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.0001132/0.3569, allocations: 131.7 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3569, allocations: 7.953 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.3572, allocations: 110.3 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.3572, allocations: 4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.3572, allocations: 4 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3572, allocations: 3.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3574, allocations: 180.6 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3574, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.3575, allocations: 23.98 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3575, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.3576, allocations: 8 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3576, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3576, allocations: 7.938 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3579, allocations: 172.5 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.3579, allocations: 23.88 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.358, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.358, allocations: 11.98 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3581, allocations: 19.86 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3581, allocations: 8 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3582, allocations: 95.27 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003372/0.3585, allocations: 71.73 kB / 1.332 GB, free: 10.46 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.0009156/0.3595, allocations: 0.7894 MB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3598, allocations: 94.28 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3598, allocations: 0 / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3599, allocations: 47.92 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3602, allocations: 19.92 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3621, allocations: 1.543 MB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.822e-05/0.3622, allocations: 89.22 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.3623, allocations: 16.36 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.3624, allocations: 31.42 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3624, allocations: 0 / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3948, allocations: 3.83 MB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 6.375 kB / 1.339 GB, free: 3.996 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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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.678063098021084]