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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.7744, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001537/0.776, allocations: 0.7398 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7774, allocations: 1.539 MB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.7774, allocations: 0.875 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.7775, allocations: 4.734 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.7776, allocations: 29.11 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.7779, allocations: 150.3 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.7781, allocations: 125.8 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.7781, allocations: 11.38 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.7782, allocations: 50.53 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.7783, allocations: 48.09 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.7783, allocations: 10.94 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.7785, allocations: 107.3 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.7785, allocations: 29.7 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.7786, allocations: 44.03 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.7788, allocations: 198.5 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.7788, allocations: 3.172 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7788, allocations: 0 / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.7788, allocations: 0 / 1.274 GB, free: 5.773 MB / 0.9981 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.0005345/0.7794, allocations: 430 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.7794, allocations: 8.969 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.526e-05/0.7794, allocations: 38.14 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.7795, allocations: 9.484 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.326e-05/0.7795, allocations: 177.8 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.7796, allocations: 37.12 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.7796, allocations: 9.438 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.7797, allocations: 108.3 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.7798, allocations: 0.9062 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.7798, allocations: 0.9688 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7798, allocations: 5.828 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.7799, allocations: 43.55 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.7804, allocations: 0.5174 MB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.7809, allocations: 140 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.781, allocations: 47.59 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.781, allocations: 0.9375 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.7812, allocations: 112.1 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.7812, allocations: 4 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003258/0.7815, allocations: 145.1 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7816, allocations: 105.4 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.7816, allocations: 131.8 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.7817, allocations: 33.48 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.7817, allocations: 94.97 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.7817, allocations: 31.72 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.7818, allocations: 40.5 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.7818, allocations: 324.8 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.7819, allocations: 33.8 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.782, allocations: 40.14 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7822, allocations: 77.05 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7822, allocations: 4.75 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002167/0.7824, allocations: 131.8 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.7824, allocations: 5.156 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.7824, allocations: 0 / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7824, allocations: 4.969 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.7825, allocations: 23.84 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7825, allocations: 0.9375 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.7826, allocations: 18.91 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.7826, allocations: 7.75 kB / 1.277 GB, free: 3.266 MB / 0.9981 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 6.004e-05/0.7827, allocations: 120.8 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.7827, allocations: 10.78 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.7829, allocations: 114.3 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.7829, allocations: 3.328 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7829, allocations: 5.391 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7829, allocations: 5.109 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.783, allocations: 214.5 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.783, allocations: 0.9062 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.7831, allocations: 20.12 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7831, allocations: 1 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.7832, allocations: 10.06 kB / 1.278 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.7832, allocations: 6.125 kB / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7832, allocations: 0 / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.7834, allocations: 174.6 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.7834, allocations: 107.9 kB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.7834, allocations: 3.859 kB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.7835, allocations: 13.17 kB / 1.278 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.7835, allocations: 14.55 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7836, allocations: 9.828 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.7836, allocations: 98.95 kB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7836, allocations: 0 / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002546/0.7838, allocations: 55.91 kB / 1.278 GB, free: 2.484 MB / 0.9981 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.0004259/0.7843, allocations: 0.7686 MB / 1.279 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.7845, allocations: 86.86 kB / 1.279 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7845, allocations: 3.938 kB / 1.279 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.7846, allocations: 50.94 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.7848, allocations: 16.38 kB / 1.279 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.7861, allocations: 1.549 MB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.7864, allocations: 0.7021 MB / 1.281 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.736e-05/0.7864, allocations: 18.8 kB / 1.281 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.7865, allocations: 35.59 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7865, allocations: 0 / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.8114, allocations: 2.966 MB / 1.284 GB, free: 15.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.95, allocations: 16.69 kB / 1.284 GB, free: 15.21 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.285814107002807]