Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.001172/0.001172, 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.001612/0.001612, allocations: 194.1 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.34/2.34, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 63.89 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6128, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001895/0.6147, allocations: 0.8876 MB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.6172, allocations: 2.482 MB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.6173, allocations: 3.938 kB / 0.953 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.6173, allocations: 15.8 kB / 0.953 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.6175, allocations: 42.84 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.6184, allocations: 497.9 kB / 0.9536 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.6186, allocations: 326.9 kB / 0.9539 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.6187, allocations: 19.98 kB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.6189, allocations: 128.4 kB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.6191, allocations: 151.7 kB / 0.9542 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.6191, allocations: 27.5 kB / 0.9542 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.6196, allocations: 316.2 kB / 0.9545 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.6197, allocations: 59.45 kB / 0.9545 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.6198, allocations: 126.3 kB / 0.9547 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/0.6204, allocations: 0.5452 MB / 0.9552 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6204, allocations: 0 / 0.9552 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6205, allocations: 0 / 0.9552 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6205, allocations: 0 / 0.9552 GB, free: 5.129 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.001249/0.6217, allocations: 0.6689 MB / 0.9558 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6218, allocations: 13.09 kB / 0.9559 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.6218, allocations: 46.64 kB / 0.9559 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.6219, allocations: 20.81 kB / 0.9559 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.622, allocations: 194.2 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.6221, allocations: 125.2 kB / 0.9562 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.6222, allocations: 21.34 kB / 0.9563 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.6225, allocations: 250.2 kB / 0.9565 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6225, allocations: 1.594 kB / 0.9565 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.6225, allocations: 5.812 kB / 0.9565 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6225, allocations: 9.484 kB / 0.9565 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.6227, allocations: 118.8 kB / 0.9566 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.6231, allocations: 392 kB / 0.957 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.6244, allocations: 498.8 kB / 0.9575 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.6246, allocations: 160.2 kB / 0.9576 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.6246, allocations: 13.53 kB / 0.9576 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.625, allocations: 316.5 kB / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.625, allocations: 0 / 0.9579 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0007531/0.6258, allocations: 418.7 kB / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.6259, allocations: 350.9 kB / 0.9587 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.626, allocations: 177.3 kB / 0.9588 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.626, allocations: 38.86 kB / 0.9589 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.6261, allocations: 96.41 kB / 0.959 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.6262, allocations: 110.2 kB / 0.9591 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.6263, allocations: 95.88 kB / 0.9592 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.6264, allocations: 335.6 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.6268, allocations: 118.3 kB / 0.9596 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.6273, allocations: 163.9 kB / 0.9598 GB, free: 1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007877/0.6281, allocations: 266.2 kB / 0.96 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6281, allocations: 1.156 kB / 0.96 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001167/0.6293, allocations: 383 kB / 0.9604 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6293, allocations: 5.375 kB / 0.9604 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6293, allocations: 1.344 kB / 0.9604 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6294, allocations: 2.219 kB / 0.9604 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.63, allocations: 82.38 kB / 0.9605 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.63, allocations: 2.5 kB / 0.9605 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.6304, allocations: 53.59 kB / 0.9605 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.6305, allocations: 21.39 kB / 0.9605 GB, free: 0.5977 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.0001796/0.6307, allocations: 160.3 kB / 0.9607 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.6308, allocations: 26.72 kB / 0.9607 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.6318, allocations: 358.7 kB / 0.9611 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6319, allocations: 9.469 kB / 0.9611 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.6319, allocations: 3.219 kB / 0.9611 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.6319, allocations: 7.234 kB / 0.9611 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.6325, allocations: 349.7 kB / 0.9614 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6326, allocations: 2.875 kB / 0.9614 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.6331, allocations: 78.89 kB / 0.9615 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.6331, allocations: 5.812 kB / 0.9615 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.6331, allocations: 19.03 kB / 0.9615 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.6332, allocations: 11.02 kB / 0.9615 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.6332, allocations: 7.047 kB / 0.9615 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6344, allocations: 0.4886 MB / 0.962 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.6347, allocations: 148.4 kB / 0.9621 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.6348, allocations: 23.8 kB / 0.9622 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.6352, allocations: 35.03 kB / 0.9622 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.6354, allocations: 48.61 kB / 0.9622 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.6354, allocations: 24.42 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001479/0.6356, allocations: 128.9 kB / 0.9624 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6356, allocations: 0 / 0.9624 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000984/0.6366, allocations: 215.9 kB / 0.9626 GB, free: 15.12 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.002375/0.639, allocations: 1.247 MB / 0.9638 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.6401, allocations: 363.7 kB / 0.9642 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6402, allocations: 1.125 kB / 0.9642 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6407, allocations: 179.4 kB / 0.9643 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.6412, allocations: 38.3 kB / 0.9644 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.646, allocations: 2.764 MB / 0.9671 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6464, allocations: 0.7614 MB / 0.9678 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.6466, allocations: 54.75 kB / 0.9679 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6468, allocations: 96.77 kB / 0.968 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.6468, allocations: 4 kB / 0.968 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.6757, allocations: 7.783 MB / 0.9756 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.26, allocations: 19.55 kB / 0.9756 GB, free: 6.492 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)