Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00161/0.00161, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6653 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 65.31 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.331, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00331/0.3343, allocations: 1.595 MB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3355, allocations: 0.6503 MB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.3356, allocations: 0 / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.3358, allocations: 79.75 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3361, allocations: 103.7 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.3365, allocations: 103.7 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3367, allocations: 135.6 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.3368, allocations: 19.97 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3369, allocations: 67.86 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3371, allocations: 99.77 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3371, allocations: 8 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.3373, allocations: 83.86 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.3374, allocations: 27.86 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.3374, allocations: 55.67 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3377, allocations: 167.7 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.3377, allocations: 8 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3377, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3377, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000741/0.3385, allocations: 472.5 kB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3385, allocations: 8.031 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.3386, allocations: 16.75 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3388, allocations: 219.8 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3388, allocations: 4.375 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3389, allocations: 4.375 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3391, allocations: 127.7 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.3391, allocations: 0 / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3391, allocations: 4 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3391, allocations: 0 / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3393, allocations: 71.91 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.3397, allocations: 416.9 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3399, allocations: 113.1 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3401, allocations: 81.78 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3401, allocations: 4 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.3404, allocations: 174.7 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.3404, allocations: 0 / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000537/0.341, allocations: 339 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.341, allocations: 106.8 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3413, allocations: 214.6 kB / 0.9556 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3413, allocations: 33.7 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3414, allocations: 108.1 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.3414, allocations: 47.62 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3415, allocations: 29.7 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3416, allocations: 330.8 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.3417, allocations: 63.97 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.3418, allocations: 73.69 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3421, allocations: 193 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3421, allocations: 0 / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.3424, allocations: 275 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.3424, allocations: 37.69 kB / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3425, allocations: 0 / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3425, allocations: 0 / 0.9568 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3426, allocations: 16.31 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3426, allocations: 0 / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.813e-05/0.3427, allocations: 7.984 kB / 0.9568 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3427, allocations: 8 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001626/0.3429, allocations: 191.2 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3429, allocations: 15.81 kB / 0.957 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3431, allocations: 103.1 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3432, allocations: 4 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3432, allocations: 0 / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3432, allocations: 0 / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3434, allocations: 233.4 kB / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3434, allocations: 4 kB / 0.9573 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.3435, allocations: 12 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3435, allocations: 0 / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3435, allocations: 12.03 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3435, allocations: 3.938 kB / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3435, allocations: 240 / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.344, allocations: 346.2 kB / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.3441, allocations: 104.9 kB / 0.9578 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.3441, allocations: 4 kB / 0.9578 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.3442, allocations: 8 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.3443, allocations: 11.98 kB / 0.9578 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3443, allocations: 11.98 kB / 0.9578 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3445, allocations: 164 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3445, allocations: 0 / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002663/0.3447, allocations: 43.98 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002172/0.345, allocations: 136.3 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.3453, allocations: 251.3 kB / 0.9584 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3453, allocations: 0 / 0.9584 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3455, allocations: 163.4 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3458, allocations: 19.78 kB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.3464, allocations: 374.2 kB / 0.9589 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3468, allocations: 0.7351 MB / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.3468, allocations: 15.44 kB / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3468, allocations: 0 / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.003928/0.3507, allocations: 1.862 MB / 0.9615 GB, free: 12.88 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches