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.0008706/0.0008706, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001828/0.001828, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.646/1.646, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.637e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001221/0.001238, allocations: 0.7036 MB / 0.9512 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.002605, allocations: 1.552 MB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.002657, allocations: 4 kB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.002685, allocations: 7.938 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.002837, allocations: 19.84 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.003221, allocations: 167.2 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.003599, allocations: 123.6 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.003689, allocations: 15.92 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.003846, allocations: 75.88 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.003916, allocations: 39.94 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.003942, allocations: 15.94 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.004103, allocations: 119.8 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.004125, allocations: 19.98 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.004163, allocations: 35.91 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.004399, allocations: 243.3 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004401, allocations: 0 / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004402, allocations: 0 / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004406, allocations: 0 / 0.9535 GB, free: 376 kB / 0.9011 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.000488/0.004894, allocations: 361.6 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.00493, allocations: 11.97 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.004961, allocations: 38.75 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.00514, allocations: 24.88 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.264e-05/0.005232, allocations: 125.6 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.005287, allocations: 55.97 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.005305, allocations: 16.38 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.005435, allocations: 96.78 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005443, allocations: 192 / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005454, allocations: 7.938 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.005459, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.005531, allocations: 43.92 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.00597, allocations: 484 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.006258, allocations: 143.7 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.006305, allocations: 38.66 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.006323, allocations: 4 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.006486, allocations: 113.9 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.006487, allocations: 0 / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002384/0.006726, allocations: 149.5 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.006771, allocations: 102.9 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.006853, allocations: 137.7 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.006868, allocations: 29.7 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.006911, allocations: 92.38 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.006935, allocations: 43.73 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.006976, allocations: 33.7 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.007054, allocations: 318.8 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.007117, allocations: 39.97 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.944e-05/0.007166, allocations: 35.92 kB / 0.956 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.007271, allocations: 79.8 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007273, allocations: 0 / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001492/0.007423, allocations: 133.6 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007436, allocations: 7.984 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007441, allocations: 0 / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.007452, allocations: 0 / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.007522, allocations: 23.92 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007527, allocations: 0 / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.007568, allocations: 11.89 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.007579, allocations: 11.98 kB / 0.9562 GB, free: 13.34 MB / 0.9167 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 7.091e-05/0.00765, allocations: 121.8 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.007664, allocations: 15.95 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.00784, allocations: 110.2 kB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.007845, allocations: 4 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.007849, allocations: 48 / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.007855, allocations: 3.984 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.007977, allocations: 180.6 kB / 0.9566 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.00798, allocations: 4 kB / 0.9566 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.008025, allocations: 12 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008029, allocations: 4 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.008039, allocations: 19.86 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.008042, allocations: 4 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008043, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.00821, allocations: 171 kB / 0.9568 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.00825, allocations: 27.81 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.008268, allocations: 12 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.008305, allocations: 4 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.008345, allocations: 15.97 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.008353, allocations: 7.938 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.008392, allocations: 99.27 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008392, allocations: 4 kB / 0.957 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002068/0.008599, allocations: 71.73 kB / 0.9571 GB, free: 12.38 MB / 0.9167 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.0004543/0.009053, allocations: 0.7837 MB / 0.9578 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.00921, allocations: 95.89 kB / 0.9579 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009211, allocations: 0 / 0.9579 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.00927, allocations: 51.86 kB / 0.958 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.009421, allocations: 11.94 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.01054, allocations: 1.552 MB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.0106, allocations: 93.31 kB / 0.9596 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01065, allocations: 12.48 kB / 0.9596 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.01071, allocations: 40.48 kB / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/0.01071, allocations: 0 / 0.9596 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.02584, allocations: 3.911 MB / 0.9635 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/6.948, allocations: 4.062 kB / 0.9635 GB, free: 5.836 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.952887537889183]