Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001332/0.001332, allocations: 109 kB / 16.45 MB, free: 6.508 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.00156/0.00156, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.462/3.462, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_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.002398/0.002398, allocations: 70.03 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3636, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002105/0.3657, allocations: 0.731 MB / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3681, allocations: 1.622 MB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.3682, allocations: 7.938 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.3683, allocations: 3.938 kB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3685, allocations: 19.84 kB / 1.35 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.369, allocations: 167.4 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3692, allocations: 119.6 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3694, allocations: 24.25 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.3696, allocations: 43.91 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3697, allocations: 55.75 kB / 1.35 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3697, allocations: 15.94 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.37, allocations: 115.9 kB / 1.351 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.3701, allocations: 27.92 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.3701, allocations: 47.78 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.3705, allocations: 227.2 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3705, allocations: 4 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3705, allocations: 0 / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3705, allocations: 0 / 1.351 GB, free: 6.754 MB / 1.045 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.000854/0.3714, allocations: 434.8 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3714, allocations: 15.98 kB / 1.351 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3715, allocations: 38.73 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.3718, allocations: 28.88 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.372, allocations: 176.2 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.3721, allocations: 42.25 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3721, allocations: 4.375 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3723, allocations: 96.17 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3724, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3724, allocations: 8 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3724, allocations: 0 / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3725, allocations: 47.91 kB / 1.352 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.3733, allocations: 0.5172 MB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.3738, allocations: 135.7 kB / 1.352 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.3739, allocations: 46.66 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.3739, allocations: 4 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3742, allocations: 113.8 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3742, allocations: 0 / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003715/0.3745, allocations: 141.5 kB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.3746, allocations: 106.9 kB / 1.353 GB, free: 4.566 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3747, allocations: 129.8 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3748, allocations: 29.7 kB / 1.353 GB, free: 4.395 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.3748, allocations: 92.36 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.3749, allocations: 31.75 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.375, allocations: 33.7 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3751, allocations: 326.8 kB / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3752, allocations: 31.98 kB / 1.353 GB, free: 3.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3753, allocations: 43.92 kB / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3755, allocations: 78.75 kB / 1.354 GB, free: 3.746 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3755, allocations: 4.25 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002761/0.3758, allocations: 127.7 kB / 1.354 GB, free: 3.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3758, allocations: 10.19 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3758, allocations: 7.938 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3758, allocations: 0 / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.376, allocations: 23.92 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.376, allocations: 0 / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3761, allocations: 23.81 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3761, allocations: 8 kB / 1.354 GB, free: 3.543 MB / 1.045 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.0001113/0.3762, allocations: 115.5 kB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3762, allocations: 15.94 kB / 1.354 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3765, allocations: 114 kB / 1.354 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3765, allocations: 3.938 kB / 1.354 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3765, allocations: 4 kB / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3765, allocations: 7.938 kB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3768, allocations: 221.5 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3768, allocations: 3.984 kB / 1.354 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3769, allocations: 19.94 kB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3769, allocations: 0 / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3769, allocations: 8 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3769, allocations: 3.984 kB / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3769, allocations: 0 / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3772, allocations: 170.7 kB / 1.354 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.3773, allocations: 101 kB / 1.354 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.3773, allocations: 8 kB / 1.354 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.3774, allocations: 8 kB / 1.354 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3775, allocations: 15.86 kB / 1.354 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3775, allocations: 7.984 kB / 1.354 GB, free: 2.625 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.743e-05/0.3775, allocations: 106.6 kB / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3775, allocations: 0 / 1.355 GB, free: 2.523 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000335/0.3779, allocations: 75.7 kB / 1.355 GB, free: 2.449 MB / 1.045 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.0008275/0.3787, allocations: 0.7778 MB / 1.355 GB, free: 1.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.379, allocations: 94.44 kB / 1.356 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.379, allocations: 0 / 1.356 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3791, allocations: 51.95 kB / 1.356 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3793, allocations: 19.22 kB / 1.356 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3813, allocations: 1.553 MB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3816, allocations: 0.6963 MB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.85e-05/0.3817, allocations: 20.34 kB / 1.358 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.3818, allocations: 43.36 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3818, allocations: 0 / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4106, allocations: 3.221 MB / 1.361 GB, free: 11.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.649, allocations: 10.42 kB / 1.361 GB, free: 11.96 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv --start-time 0 --stop-time 604800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.740210479823872]