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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001181/0.001181, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001378/0.001378, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.616/2.616, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004192, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7855, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008878/0.7864, allocations: 0.5791 MB / 0.9542 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.7888, allocations: 2.373 MB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.7889, allocations: 3.938 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.7889, allocations: 5.156 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.7892, allocations: 61.61 kB / 0.9565 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.7899, allocations: 405.5 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.7901, allocations: 194.9 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.7902, allocations: 14.73 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.7904, allocations: 136.8 kB / 0.9573 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.7906, allocations: 145 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.7906, allocations: 11.91 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.7911, allocations: 295.7 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.7912, allocations: 52.77 kB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.7912, allocations: 65.78 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.7917, allocations: 404.4 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7917, allocations: 0 / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.582e-06/0.7917, allocations: 0 / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7917, allocations: 0 / 0.9582 GB, free: 4.746 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.001171/0.7929, allocations: 0.6308 MB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.793, allocations: 13.61 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.793, allocations: 46.67 kB / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.7931, allocations: 26.61 kB / 0.9589 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7932, allocations: 190.2 kB / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7933, allocations: 124.1 kB / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.7934, allocations: 21.91 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.7937, allocations: 240.1 kB / 0.9594 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.7937, allocations: 3.938 kB / 0.9594 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7938, allocations: 6.938 kB / 0.9595 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.7938, allocations: 8.141 kB / 0.9595 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.794, allocations: 118.5 kB / 0.9596 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.7943, allocations: 400.2 kB / 0.96 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.7957, allocations: 495.6 kB / 0.9604 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.7957, allocations: 17.05 kB / 0.9604 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.7961, allocations: 306.5 kB / 0.9607 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.7961, allocations: 1.125 kB / 0.9607 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.0007814/0.7969, allocations: 410 kB / 0.9611 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.797, allocations: 355.4 kB / 0.9615 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.7972, allocations: 169.9 kB / 0.9616 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.7972, allocations: 42.23 kB / 0.9617 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.7973, allocations: 96.31 kB / 0.9618 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.7974, allocations: 114 kB / 0.9619 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.7974, allocations: 10 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.7975, allocations: 335.7 kB / 0.9622 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.7977, allocations: 113.3 kB / 0.9623 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.798, allocations: 160.5 kB / 0.9625 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.7983, allocations: 119.9 kB / 0.9626 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7983, allocations: 3.938 kB / 0.9626 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007198/0.799, allocations: 376.3 kB / 0.9629 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.7991, allocations: 6.188 kB / 0.9629 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7991, allocations: 8.781 kB / 0.963 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7991, allocations: 2.75 kB / 0.963 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.7995, allocations: 77.88 kB / 0.963 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.7995, allocations: 3.156 kB / 0.963 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.7998, allocations: 61.83 kB / 0.9631 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.7999, allocations: 20.17 kB / 0.9631 GB, free: 0.5352 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.8, allocations: 152.5 kB / 0.9633 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.8001, allocations: 27.83 kB / 0.9633 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/0.8007, allocations: 360.4 kB / 0.9636 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.8007, allocations: 8.594 kB / 0.9636 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.8007, allocations: 3.438 kB / 0.9636 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8008, allocations: 8.266 kB / 0.9636 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.8012, allocations: 353.4 kB / 0.964 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8012, allocations: 7.125 kB / 0.964 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.8015, allocations: 78.36 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.8015, allocations: 6.031 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.8015, allocations: 15.84 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.8016, allocations: 4.875 kB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.8016, allocations: 10.36 kB / 0.9641 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.8024, allocations: 0.6247 MB / 0.9647 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.8026, allocations: 153.9 kB / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.8026, allocations: 18.16 kB / 0.9649 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.8029, allocations: 34.09 kB / 0.9649 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.803, allocations: 50.95 kB / 0.965 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.803, allocations: 29.05 kB / 0.965 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000107/0.8031, allocations: 121.1 kB / 0.9651 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8031, allocations: 0 / 0.9651 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008116/0.804, allocations: 216.3 kB / 0.9653 GB, free: 14.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002044/0.806, allocations: 2.115 MB / 0.9674 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007655/0.8068, allocations: 328.2 kB / 0.9677 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8068, allocations: 0 / 0.9677 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.8072, allocations: 189.8 kB / 0.9679 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.8074, allocations: 26.28 kB / 0.9679 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.8092, allocations: 1.444 MB / 0.9693 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.8097, allocations: 0.7669 MB / 0.97 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.8099, allocations: 53.8 kB / 0.9701 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.8101, allocations: 100.6 kB / 0.9702 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8101, allocations: 0 / 0.9702 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.8311, allocations: 7.265 MB / 0.9773 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.8314, allocations: 190.6 kB / 0.9775 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.697, allocations: 5.219 kB / 0.9775 GB, free: 6.812 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat does not exist to compare? outputFormat=mat