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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 214.7 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 69.12 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3803, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002039/0.3823, allocations: 0.9099 MB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003316/0.3856, allocations: 2.584 MB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3857, allocations: 7.938 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.3858, allocations: 15.8 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.386, allocations: 47.62 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.3876, allocations: 0.4944 MB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.3881, allocations: 319.1 kB / 1.35 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.3882, allocations: 5.812 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.3885, allocations: 151.6 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3888, allocations: 151.5 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.3888, allocations: 24 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.3898, allocations: 395.6 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.3899, allocations: 67.8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3901, allocations: 119.5 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.391, allocations: 0.5724 MB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.391, allocations: 4 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.391, allocations: 0 / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.391, allocations: 0 / 1.351 GB, free: 10.62 MB / 1.045 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.001527/0.3925, allocations: 0.6038 MB / 1.352 GB, free: 9.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3926, allocations: 8.031 kB / 1.352 GB, free: 9.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.476e-05/0.3926, allocations: 4.188 kB / 1.352 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.3927, allocations: 54.67 kB / 1.352 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3938, allocations: 88.72 kB / 1.352 GB, free: 9.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.394, allocations: 136.1 kB / 1.352 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.3942, allocations: 238.1 kB / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.3943, allocations: 20.12 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.3947, allocations: 239.8 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3947, allocations: 3.938 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3948, allocations: 8 kB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3948, allocations: 4 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.395, allocations: 119.7 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.3955, allocations: 362.3 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.3972, allocations: 495.2 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3974, allocations: 154.2 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3974, allocations: 11.92 kB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.398, allocations: 311.6 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.398, allocations: 0 / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.0009042/0.3989, allocations: 417 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.3991, allocations: 350.1 kB / 1.354 GB, free: 6.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3993, allocations: 171.7 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.3993, allocations: 41.64 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.3994, allocations: 101.1 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3995, allocations: 111.1 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3997, allocations: 98.16 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3999, allocations: 334.8 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.4002, allocations: 116.9 kB / 1.355 GB, free: 5.551 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.4005, allocations: 164.3 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.4012, allocations: 270.4 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4012, allocations: 0 / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008521/0.402, allocations: 380.3 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.402, allocations: 8 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.402, allocations: 0 / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.4021, allocations: 9 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.4025, allocations: 79.81 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4025, allocations: 4 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.4028, allocations: 51.7 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.4028, allocations: 19.98 kB / 1.356 GB, free: 4.562 MB / 1.045 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.000206/0.403, allocations: 162.3 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.4031, allocations: 27.84 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.4038, allocations: 362.2 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.4038, allocations: 8 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.4038, allocations: 4 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4038, allocations: 7.984 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.4043, allocations: 328.2 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4043, allocations: 0 / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4046, allocations: 75.84 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.4046, allocations: 4 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.4046, allocations: 19.98 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.4046, allocations: 4 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4046, allocations: 8 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.4054, allocations: 0.4965 MB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4056, allocations: 63.94 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.4057, allocations: 19.94 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.4059, allocations: 35.97 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.406, allocations: 59.8 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.4061, allocations: 27.92 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001214/0.4062, allocations: 135.7 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006768/0.4069, allocations: 231.1 kB / 1.358 GB, free: 2.406 MB / 1.045 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.001766/0.4086, allocations: 1.261 MB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.4094, allocations: 315.2 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4094, allocations: 0 / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.4098, allocations: 167.7 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.4101, allocations: 41.05 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.4143, allocations: 2.77 MB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4147, allocations: 0.7687 MB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.4149, allocations: 55.3 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.4151, allocations: 95.39 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of SimCode: time 7.42e-07/0.4151, allocations: 0 / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.4479, allocations: 8.493 MB / 1.372 GB, free: 4.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.55, allocations: 12.62 kB / 1.372 GB, free: 4.352 MB / 1.061 GB " [Timeout remaining time 287] (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 --stepSize=3353.11 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.507989083998837] Failed to read output from testmodel.py, exit status != 0: 12.72274436999578 12.749108553 12.353331726 Calling exit ...