Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_9_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.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.62, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002091/0.6221, allocations: 0.8891 MB / 0.9506 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.625, allocations: 2.482 MB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.6252, allocations: 3.938 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.6253, allocations: 13.25 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.6256, allocations: 45.28 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.6269, allocations: 0.4985 MB / 0.9536 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.6273, allocations: 319.3 kB / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.6273, allocations: 15.23 kB / 0.9539 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.6276, allocations: 133.7 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.6278, allocations: 151 kB / 0.9542 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.6279, allocations: 31.12 kB / 0.9542 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.6285, allocations: 308 kB / 0.9545 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.6286, allocations: 71.58 kB / 0.9546 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.6287, allocations: 117.8 kB / 0.9547 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.6294, allocations: 0.5417 MB / 0.9552 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6294, allocations: 0 / 0.9552 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6294, allocations: 0 / 0.9552 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.6294, allocations: 1.5 kB / 0.9552 GB, free: 5.156 MB / 0.7169 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.001252/0.6307, allocations: 0.6674 MB / 0.9558 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6307, allocations: 13.12 kB / 0.9559 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.6308, allocations: 47.3 kB / 0.9559 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.6309, allocations: 19.88 kB / 0.9559 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.406e-05/0.631, allocations: 197.8 kB / 0.9561 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.6311, allocations: 129.2 kB / 0.9562 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.6311, allocations: 17.53 kB / 0.9563 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.6314, allocations: 255.7 kB / 0.9565 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6315, allocations: 0 / 0.9565 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.6315, allocations: 11.81 kB / 0.9565 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6315, allocations: 3.594 kB / 0.9565 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.6317, allocations: 115.2 kB / 0.9566 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.632, allocations: 392.6 kB / 0.957 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.6334, allocations: 498.8 kB / 0.9575 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.6336, allocations: 160.4 kB / 0.9576 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.6336, allocations: 13.12 kB / 0.9576 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.634, allocations: 316.4 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.634, allocations: 0 / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0007849/0.6348, allocations: 413.6 kB / 0.9583 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.6349, allocations: 350.5 kB / 0.9587 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6351, allocations: 177.9 kB / 0.9588 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.6351, allocations: 43.45 kB / 0.9589 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.6351, allocations: 91.83 kB / 0.959 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.6352, allocations: 113.7 kB / 0.9591 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6354, allocations: 100.3 kB / 0.9592 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.6354, allocations: 328.3 kB / 0.9595 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.6357, allocations: 118.2 kB / 0.9596 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.636, allocations: 164.5 kB / 0.9598 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.6365, allocations: 266.1 kB / 0.96 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6366, allocations: 1.094 kB / 0.96 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007293/0.6373, allocations: 381.1 kB / 0.9604 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6373, allocations: 4.719 kB / 0.9604 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6373, allocations: 1.094 kB / 0.9604 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6374, allocations: 2.812 kB / 0.9604 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.6377, allocations: 82.56 kB / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6378, allocations: 6.312 kB / 0.9605 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.6381, allocations: 53.88 kB / 0.9605 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.6381, allocations: 20.92 kB / 0.9605 GB, free: 0.6211 MB / 0.7169 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.000129/0.6382, allocations: 151.4 kB / 0.9607 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.6383, allocations: 28.91 kB / 0.9607 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.639, allocations: 359.1 kB / 0.9611 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.639, allocations: 13.06 kB / 0.9611 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.639, allocations: 2.688 kB / 0.9611 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.639, allocations: 11.39 kB / 0.9611 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.6394, allocations: 354.5 kB / 0.9614 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6394, allocations: 6.219 kB / 0.9614 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.6397, allocations: 77.38 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.6397, allocations: 3.344 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.6398, allocations: 17.48 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6398, allocations: 3.469 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6398, allocations: 3.562 kB / 0.9615 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.6405, allocations: 0.4928 MB / 0.962 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.6408, allocations: 157.4 kB / 0.9622 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.6408, allocations: 19.16 kB / 0.9622 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.6411, allocations: 31.03 kB / 0.9622 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.6412, allocations: 53.44 kB / 0.9623 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.6413, allocations: 24.7 kB / 0.9623 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001068/0.6414, allocations: 119.8 kB / 0.9624 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6414, allocations: 4 kB / 0.9624 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007117/0.6421, allocations: 219.7 kB / 0.9626 GB, free: 15.15 MB / 0.7325 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.001682/0.6438, allocations: 1.238 MB / 0.9638 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007805/0.6446, allocations: 354.3 kB / 0.9642 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6446, allocations: 4 kB / 0.9642 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.6449, allocations: 191.2 kB / 0.9643 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6453, allocations: 31.72 kB / 0.9644 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.6495, allocations: 2.766 MB / 0.9671 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.6499, allocations: 0.7615 MB / 0.9678 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.6502, allocations: 57.28 kB / 0.9679 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.6504, allocations: 94.14 kB / 0.968 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.6504, allocations: 0 / 0.968 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.6805, allocations: 7.774 MB / 0.9755 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/8.148, allocations: 4.062 kB / 0.9756 GB, free: 6.465 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)