Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001423/0.001423, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001435/0.001435, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.367 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.88 kB / 1.059 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2699, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001922/0.2718, allocations: 0.7407 MB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.274, allocations: 1.537 MB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.2741, allocations: 0 / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2741, allocations: 7.875 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.2743, allocations: 19.84 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.2747, allocations: 155.5 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.2749, allocations: 123.7 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.275, allocations: 15.98 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2751, allocations: 51.78 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2752, allocations: 51.81 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.2753, allocations: 12 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.2755, allocations: 103.9 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.2755, allocations: 15.98 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.2756, allocations: 43.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.2759, allocations: 207.5 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2759, allocations: 4 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2759, allocations: 4 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.2759, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 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.0007813/0.2767, allocations: 430.8 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2767, allocations: 8.031 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.2768, allocations: 38.75 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2768, allocations: 8.891 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.277, allocations: 184.2 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.2771, allocations: 34.27 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2771, allocations: 4.375 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2773, allocations: 103.9 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2773, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2773, allocations: 7.938 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2773, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.2774, allocations: 39.98 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.2781, allocations: 0.5205 MB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.2786, allocations: 139.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.2787, allocations: 46.66 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.2787, allocations: 0 / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.2789, allocations: 121.8 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2789, allocations: 0 / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003315/0.2792, allocations: 137.5 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/0.2793, allocations: 110.8 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2794, allocations: 129.9 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2794, allocations: 25.7 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.2795, allocations: 104.2 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.2795, allocations: 27.81 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.2796, allocations: 33.7 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2797, allocations: 322.8 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.2798, allocations: 35.98 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/0.2799, allocations: 39.92 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2801, allocations: 82.09 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2801, allocations: 0 / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000259/0.2804, allocations: 128.3 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2804, allocations: 4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2804, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2804, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2805, allocations: 23.92 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2805, allocations: 3.984 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.2806, allocations: 19.83 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2806, allocations: 8 kB / 1.221 GB, free: 9.684 MB / 0.9669 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.0001066/0.2807, allocations: 122 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.2808, allocations: 11.95 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.281, allocations: 114.2 kB / 1.222 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.281, allocations: 7.938 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.281, allocations: 0 / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.281, allocations: 11.92 kB / 1.222 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.2812, allocations: 221.5 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2812, allocations: 0 / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.2813, allocations: 19.94 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2813, allocations: 4 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2813, allocations: 7.984 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2813, allocations: 0 / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2813, allocations: 4 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2816, allocations: 174.6 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.2817, allocations: 101 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2817, allocations: 7.953 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.2818, allocations: 11.98 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.2819, allocations: 19.86 kB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2819, allocations: 4 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.2819, allocations: 99.27 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2819, allocations: 4 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002807/0.2822, allocations: 55.81 kB / 1.222 GB, free: 8.59 MB / 0.9669 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.0006975/0.2829, allocations: 0.7583 MB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2832, allocations: 102.2 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2832, allocations: 0 / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.2833, allocations: 47.92 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.2835, allocations: 11.94 kB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2853, allocations: 1.554 MB / 1.225 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2856, allocations: 0.7041 MB / 1.225 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.27e-05/0.2857, allocations: 12.69 kB / 1.225 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.2858, allocations: 39.36 kB / 1.225 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.2858, allocations: 4 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3125, allocations: 2.958 MB / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.496, allocations: 14.47 kB / 1.228 GB, free: 2.332 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.784953080001287]