Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_10_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.0007883/0.0007882, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005015/0.005015, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003489, allocations: 11.98 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5872, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001117/0.5884, allocations: 0.6082 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.5917, allocations: 2.51 MB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.5918, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.5919, allocations: 7.875 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.5921, allocations: 39.69 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.5933, allocations: 422.8 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.5937, allocations: 307 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.5938, allocations: 21.66 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.594, allocations: 127.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.5943, allocations: 147.4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.5944, allocations: 12 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.595, allocations: 307.8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.595, allocations: 59.78 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.5952, allocations: 133.2 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.5959, allocations: 0.5359 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.5959, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5959, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5959, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 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.001346/0.5973, allocations: 0.6295 MB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5973, allocations: 8.031 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.5974, allocations: 50.73 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.5975, allocations: 28.64 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.5976, allocations: 190 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5978, allocations: 123.4 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.5979, allocations: 20.38 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.5982, allocations: 248.2 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5983, allocations: 0 / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.5983, allocations: 11.94 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.5983, allocations: 4 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.5985, allocations: 123.7 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.599, allocations: 395.1 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.6004, allocations: 495.3 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.6006, allocations: 174.2 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.6007, allocations: 15.91 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/0.6012, allocations: 311.6 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.6012, allocations: 0 / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0007921/0.602, allocations: 408.9 kB / 1.031 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.6021, allocations: 354.6 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.6023, allocations: 176.6 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.6023, allocations: 37.7 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.6024, allocations: 97.12 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.6025, allocations: 114.4 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.6026, allocations: 49.69 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6027, allocations: 334.8 kB / 1.032 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.603, allocations: 117 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.6033, allocations: 169 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.6038, allocations: 265 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6038, allocations: 0 / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007102/0.6045, allocations: 381.1 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6046, allocations: 8 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6046, allocations: 4 kB / 1.033 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6046, allocations: 0 / 1.033 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.605, allocations: 83.81 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.605, allocations: 4 kB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.6053, allocations: 59.66 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.6053, allocations: 15.98 kB / 1.033 GB, free: 4.688 MB / 0.7794 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.0001491/0.6055, allocations: 150.8 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.6056, allocations: 32.39 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.6062, allocations: 366.2 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6062, allocations: 8 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6062, allocations: 4 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6063, allocations: 4 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.6066, allocations: 353 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6066, allocations: 4 kB / 1.034 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.6069, allocations: 67.91 kB / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.6069, allocations: 11.94 kB / 1.034 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.607, allocations: 23.98 kB / 1.034 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.607, allocations: 4 kB / 1.034 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.607, allocations: 4 kB / 1.034 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.6076, allocations: 0.4938 MB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.6078, allocations: 148.5 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.6079, allocations: 19.98 kB / 1.035 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.6081, allocations: 35.98 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.6082, allocations: 55.81 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.6083, allocations: 23.98 kB / 1.035 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.419e-05/0.6084, allocations: 123.2 kB / 1.035 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.403e-06/0.6084, allocations: 4 kB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005706/0.6089, allocations: 215.7 kB / 1.036 GB, free: 2.426 MB / 0.7794 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.001371/0.6103, allocations: 1.244 MB / 1.037 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.6109, allocations: 326.7 kB / 1.037 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6109, allocations: 4 kB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.6112, allocations: 188 kB / 1.037 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.6115, allocations: 31.94 kB / 1.037 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.6151, allocations: 2.842 MB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.6154, allocations: 0.7575 MB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.6156, allocations: 54.94 kB / 1.041 GB, free: 12.74 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.6157, allocations: 91.39 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.6157, allocations: 0 / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.6334, allocations: 7.285 MB / 1.048 GB, free: 5.512 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/0.6337, allocations: 206.6 kB / 1.048 GB, free: 5.258 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.593, allocations: 0 / 1.048 GB, free: 5.258 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)