Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006022/0.006022, allocations: 168.7 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 11.44 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001263/0.3024, allocations: 0.618 MB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004353/0.3068, allocations: 2.498 MB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3069, allocations: 3.938 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.307, allocations: 7.938 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.3073, allocations: 47.67 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.3087, allocations: 422.8 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000447/0.3092, allocations: 299.1 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.3093, allocations: 21.61 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.3096, allocations: 127.5 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.3099, allocations: 151.5 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.31, allocations: 12 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007897/0.3108, allocations: 303.7 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.3109, allocations: 59.78 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.3112, allocations: 137.2 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.3123, allocations: 0.5339 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3123, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3123, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.3124, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001698/0.3141, allocations: 0.6257 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.3141, allocations: 11.97 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.3142, allocations: 54.73 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.3143, allocations: 20.66 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3145, allocations: 201.4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3147, allocations: 123.4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.3148, allocations: 20.38 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.3153, allocations: 235.7 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3153, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.3154, allocations: 11.98 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3154, allocations: 11.88 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.3157, allocations: 115.8 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.3164, allocations: 407.1 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.3183, allocations: 491.3 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.3186, allocations: 158.2 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.3187, allocations: 7.938 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006131/0.3193, allocations: 323.4 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=40): time 3.457e-06/0.3193, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.001301/0.3206, allocations: 409.9 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.3208, allocations: 354.6 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.321, allocations: 175.2 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3211, allocations: 37.7 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.3212, allocations: 93.14 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3213, allocations: 114.4 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.3214, allocations: 45.7 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3216, allocations: 334.8 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.322, allocations: 117.1 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.3224, allocations: 165 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.3233, allocations: 273.4 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3233, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001144/0.3245, allocations: 379 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3245, allocations: 7.938 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3245, allocations: 8.734 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3245, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.325, allocations: 79.83 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.3251, allocations: 8.109 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.3255, allocations: 59.67 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.3256, allocations: 15.98 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0002673/0.3259, allocations: 166.2 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.326, allocations: 27.66 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009824/0.3269, allocations: 354.1 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.327, allocations: 8 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.327, allocations: 4 kB / 1.07 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.327, allocations: 7.984 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.3277, allocations: 353 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.3278, allocations: 4 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.3282, allocations: 75.84 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.3282, allocations: 8 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.3282, allocations: 19.98 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.3283, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.3283, allocations: 7.938 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3293, allocations: 0.4902 MB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.3296, allocations: 152.5 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.3297, allocations: 16 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.3301, allocations: 39.97 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.3302, allocations: 51.88 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.3303, allocations: 23.98 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001369/0.3304, allocations: 131.2 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3304, allocations: 3.938 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000957/0.3314, allocations: 215.7 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0017/0.3331, allocations: 1.232 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006945/0.3338, allocations: 336.6 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.3341, allocations: 184.5 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3345, allocations: 35.92 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.3384, allocations: 2.851 MB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3387, allocations: 0.7614 MB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.3389, allocations: 63.23 kB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3391, allocations: 95.33 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3392, allocations: 0 / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.3587, allocations: 7.266 MB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/0.3591, allocations: 216.1 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.336, allocations: 6.109 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)