Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01118/0.01119, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.002047/0.002047, allocations: 193.8 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.831/1.831, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 73.78 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002498/0.2798, allocations: 0.9165 MB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2835, allocations: 2.526 MB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.2836, allocations: 3.938 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.2837, allocations: 15.8 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.2839, allocations: 47.62 kB / 0.8315 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.2851, allocations: 0.4905 MB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.2854, allocations: 319.1 kB / 0.8322 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.2855, allocations: 21.66 kB / 0.8323 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.2857, allocations: 139.6 kB / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2859, allocations: 151.5 kB / 0.8325 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.286, allocations: 24 kB / 0.8326 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.2866, allocations: 371.7 kB / 0.8329 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2867, allocations: 71.78 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.2868, allocations: 115.5 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.2876, allocations: 0.5454 MB / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2876, allocations: 0 / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2876, allocations: 0 / 0.8336 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2877, allocations: 0 / 0.8336 GB, free: 10.47 MB / 0.6544 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.001642/0.2893, allocations: 0.6707 MB / 0.8343 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.2894, allocations: 12.03 kB / 0.8343 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.2895, allocations: 16.75 kB / 0.8343 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.2897, allocations: 200.7 kB / 0.8345 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.2899, allocations: 123.4 kB / 0.8346 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.2899, allocations: 24.31 kB / 0.8346 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.2904, allocations: 240.4 kB / 0.8349 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2904, allocations: 0 / 0.8349 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.2904, allocations: 8 kB / 0.8349 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2905, allocations: 4 kB / 0.8349 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.2907, allocations: 115.7 kB / 0.835 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.2912, allocations: 399.1 kB / 0.8354 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2927, allocations: 499.3 kB / 0.8358 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.293, allocations: 158.2 kB / 0.836 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2931, allocations: 15.97 kB / 0.836 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.2936, allocations: 315.4 kB / 0.8363 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.2937, allocations: 0 / 0.8363 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.0009199/0.2946, allocations: 417.8 kB / 0.8367 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.2948, allocations: 354.6 kB / 0.8371 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.295, allocations: 171.2 kB / 0.8372 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.295, allocations: 37.7 kB / 0.8372 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.2951, allocations: 97.12 kB / 0.8373 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2952, allocations: 114.4 kB / 0.8375 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2953, allocations: 94.22 kB / 0.8375 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2955, allocations: 342.8 kB / 0.8379 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.2957, allocations: 113.1 kB / 0.838 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.296, allocations: 165 kB / 0.8381 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.2966, allocations: 269 kB / 0.8384 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2966, allocations: 4 kB / 0.8384 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007225/0.2973, allocations: 378.9 kB / 0.8388 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2974, allocations: 4 kB / 0.8388 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2974, allocations: 0 / 0.8388 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.2974, allocations: 4 kB / 0.8388 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.2978, allocations: 83.81 kB / 0.8388 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2978, allocations: 0 / 0.8388 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.2981, allocations: 55.66 kB / 0.8389 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2981, allocations: 15.98 kB / 0.8389 GB, free: 4.484 MB / 0.6544 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.0001726/0.2983, allocations: 157.7 kB / 0.8391 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.2984, allocations: 31.64 kB / 0.8391 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.2992, allocations: 358.9 kB / 0.8394 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2992, allocations: 8 kB / 0.8394 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.2992, allocations: 8 kB / 0.8394 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2992, allocations: 4 kB / 0.8395 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.2997, allocations: 345.5 kB / 0.8398 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2997, allocations: 7.938 kB / 0.8398 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3, allocations: 75.84 kB / 0.8399 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.3, allocations: 8 kB / 0.8399 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.3, allocations: 19.98 kB / 0.8399 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.3, allocations: 4 kB / 0.8399 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3, allocations: 7.938 kB / 0.8399 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.3008, allocations: 0.4939 MB / 0.8404 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.301, allocations: 148.6 kB / 0.8405 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.3011, allocations: 23.89 kB / 0.8405 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.3013, allocations: 27.92 kB / 0.8406 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3014, allocations: 59.81 kB / 0.8406 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.3015, allocations: 23.98 kB / 0.8407 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001071/0.3016, allocations: 127.2 kB / 0.8408 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.3016, allocations: 0 / 0.8408 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007211/0.3023, allocations: 211.7 kB / 0.841 GB, free: 2.23 MB / 0.6544 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.0005715/0.3029, allocations: 321 kB / 0.8413 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006717/0.3036, allocations: 336.2 kB / 0.8416 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3036, allocations: 4 kB / 0.8416 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.3039, allocations: 188.3 kB / 0.8418 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3042, allocations: 35.73 kB / 0.8418 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.3052, allocations: 0.5527 MB / 0.8424 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3055, allocations: 0.7611 MB / 0.8431 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000184/0.3057, allocations: 55.36 kB / 0.8432 GB, free: 15.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3058, allocations: 47.41 kB / 0.8432 GB, free: 15.86 MB / 0.67 GB Notification: Performance of SimCode: time 3.737e-06/0.3058, allocations: 0 / 0.8432 GB, free: 15.86 MB / 0.67 GB Notification: Performance of Templates: time 0.01059/0.3164, allocations: 5.655 MB / 0.8487 GB, free: 10.21 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)