Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001748/0.001748, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001544/0.001544, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_12_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.002009/0.002009, allocations: 66.33 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3667, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002077/0.3688, allocations: 0.909 MB / 1.328 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3721, allocations: 2.603 MB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.3722, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.3722, allocations: 11.81 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3724, allocations: 39.62 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3735, allocations: 0.4991 MB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.3739, allocations: 319.1 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.374, allocations: 5.812 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.3742, allocations: 155.6 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.3745, allocations: 151.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.3746, allocations: 24 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.3753, allocations: 395.7 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.3753, allocations: 67.78 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3755, allocations: 119.5 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.3762, allocations: 0.5763 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3762, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3762, allocations: 3.938 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3762, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 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.001396/0.3776, allocations: 0.6076 MB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3777, allocations: 8.031 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.865e-05/0.3777, allocations: 8.188 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.3778, allocations: 50.72 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.3788, allocations: 88.72 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3789, allocations: 134.9 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.3792, allocations: 242.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.3792, allocations: 20.12 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.3796, allocations: 244.2 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3797, allocations: 0 / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.3797, allocations: 11.98 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3797, allocations: 4 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.3799, allocations: 111.7 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3804, allocations: 366.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.382, allocations: 495.3 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3822, allocations: 154.1 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3822, allocations: 8 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.3828, allocations: 311.6 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.3828, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008879/0.3837, allocations: 422.5 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.3839, allocations: 358 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.384, allocations: 163.7 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.3841, allocations: 45.7 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.3842, allocations: 89.14 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3843, allocations: 123 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3844, allocations: 94.17 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3846, allocations: 330.8 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3849, allocations: 116.9 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.3852, allocations: 168.4 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.3858, allocations: 269 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3858, allocations: 0 / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008535/0.3867, allocations: 375.3 kB / 1.338 GB, free: 6.227 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.3867, allocations: 10.17 kB / 1.338 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3867, allocations: 8 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3867, allocations: 0 / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.3872, allocations: 79.83 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.3872, allocations: 7.984 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.3875, allocations: 47.72 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.3875, allocations: 19.98 kB / 1.338 GB, free: 6.059 MB / 1.029 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.00024/0.3878, allocations: 161.6 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.3878, allocations: 27.91 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.3886, allocations: 358.3 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3886, allocations: 11.94 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3887, allocations: 4 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3887, allocations: 7.984 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.3891, allocations: 324.6 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3891, allocations: 4 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.3894, allocations: 79.84 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.3894, allocations: 4 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.3895, allocations: 19.98 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.3895, allocations: 8 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3895, allocations: 4 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.3903, allocations: 0.4924 MB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3905, allocations: 63.73 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.3905, allocations: 27.88 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3908, allocations: 31.91 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3909, allocations: 59.8 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.3909, allocations: 23.98 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001168/0.391, allocations: 127.2 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.391, allocations: 0 / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006669/0.3917, allocations: 227.2 kB / 1.34 GB, free: 3.918 MB / 1.029 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.001831/0.3935, allocations: 1.265 MB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.3944, allocations: 316.8 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3944, allocations: 4 kB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.3947, allocations: 171.7 kB / 1.341 GB, free: 2.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.395, allocations: 31.94 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.3992, allocations: 2.764 MB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.3997, allocations: 0.7688 MB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.3999, allocations: 47.33 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4001, allocations: 103.4 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of SimCode: time 1.342e-06/0.4001, allocations: 0 / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4326, allocations: 8.492 MB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.33, allocations: 9.172 kB / 1.353 GB, free: 5.859 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3353.11 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.070190110011026] Failed to read output from testmodel.py, exit status != 0: 12.495689327013679 12.521356339 12.14050588 Calling exit ...