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.001401/0.001401, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002207/0.002207, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.593/1.593, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.874/2.874, allocations: 476.7 MB / 0.7672 GB, free: 5.172 MB / 0.6231 GB " [Timeout remaining time 177] 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.002017/0.002017, allocations: 67.91 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8214, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002247/0.8236, allocations: 0.7316 MB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.8259, allocations: 1.628 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.826, allocations: 4 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.826, allocations: 11.88 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.8262, allocations: 23.78 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.8266, allocations: 159.5 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.8268, allocations: 119.7 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.8269, allocations: 12 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.8271, allocations: 55.83 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.8272, allocations: 55.81 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.8272, allocations: 12 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.8274, allocations: 119.9 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.8275, allocations: 27.91 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.8275, allocations: 47.8 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.8279, allocations: 221.1 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8279, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8279, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8279, allocations: 0 / 1.281 GB, free: 10.21 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.0007385/0.8286, allocations: 434.8 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8286, allocations: 12.03 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.8287, allocations: 30.75 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.829, allocations: 32.83 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.8292, allocations: 180.2 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.8292, allocations: 34.27 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.8293, allocations: 12.38 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.8295, allocations: 100.2 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.8295, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.8295, allocations: 4 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.8295, allocations: 0 / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.8296, allocations: 47.91 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.8303, allocations: 0.5165 MB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.8308, allocations: 135.7 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.8309, allocations: 42.66 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.831, allocations: 4 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.8312, allocations: 121.8 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.8312, allocations: 0 / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003574/0.8316, allocations: 141.5 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.8316, allocations: 106.8 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.8318, allocations: 125.8 kB / 1.283 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.8318, allocations: 29.7 kB / 1.283 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.8319, allocations: 96.56 kB / 1.283 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.8319, allocations: 35.73 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.832, allocations: 33.7 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8321, allocations: 326.7 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.8322, allocations: 39.91 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.8323, allocations: 35.98 kB / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.8325, allocations: 72.84 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8325, allocations: 0 / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002786/0.8328, allocations: 140.1 kB / 1.284 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8328, allocations: 8 kB / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8328, allocations: 0 / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.8328, allocations: 0 / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.833, allocations: 24.17 kB / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.833, allocations: 0 / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.8331, allocations: 16.08 kB / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.8331, allocations: 11.98 kB / 1.284 GB, free: 7.004 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.0001147/0.8332, allocations: 121.8 kB / 1.284 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.8332, allocations: 11.89 kB / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.8335, allocations: 117.9 kB / 1.284 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8335, allocations: 4 kB / 1.284 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8335, allocations: 0 / 1.284 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.8335, allocations: 7.938 kB / 1.284 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.8337, allocations: 217.5 kB / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8337, allocations: 0 / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.8338, allocations: 27.92 kB / 1.285 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8339, allocations: 0 / 1.285 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8339, allocations: 8 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8339, allocations: 0 / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8339, allocations: 0 / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.8342, allocations: 178.6 kB / 1.285 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.8343, allocations: 93.05 kB / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.8343, allocations: 12 kB / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.8344, allocations: 7.984 kB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.8344, allocations: 15.92 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8344, allocations: 4 kB / 1.285 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.8345, allocations: 99.27 kB / 1.285 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8345, allocations: 0 / 1.285 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003178/0.8348, allocations: 71.73 kB / 1.285 GB, free: 5.914 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.0007754/0.8356, allocations: 0.7852 MB / 1.286 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.8359, allocations: 91.89 kB / 1.286 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8359, allocations: 0 / 1.286 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.836, allocations: 47.92 kB / 1.286 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.8362, allocations: 26.53 kB / 1.286 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.8383, allocations: 1.565 MB / 1.288 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.8386, allocations: 0.7002 MB / 1.288 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.029e-05/0.8387, allocations: 12.56 kB / 1.288 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.8388, allocations: 35.42 kB / 1.288 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8388, allocations: 0 / 1.288 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.8672, allocations: 3.224 MB / 1.291 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.225, allocations: 11.62 kB / 1.292 GB, free: 15.42 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.596964543918148]