Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 172 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 96.02 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005303, allocations: 8.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4111, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.6197, allocations: 151.5 MB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.62, allocations: 91.92 kB / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01008/0.6302, allocations: 3.28 MB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6302, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.6302, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006775/0.6309, allocations: 444.5 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.631, allocations: 8.562 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.6311, allocations: 19.81 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.6314, allocations: 219.5 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.6315, allocations: 4 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.6315, allocations: 4 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.6318, allocations: 127.3 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6318, allocations: 0 / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6318, allocations: 0 / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6318, allocations: 3.938 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.632, allocations: 91.88 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.6326, allocations: 393 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.6328, allocations: 121 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.6329, allocations: 0 / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.6331, allocations: 182.7 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6331, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0008475/0.634, allocations: 454.1 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.6341, allocations: 114.8 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.6343, allocations: 186.1 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.6344, allocations: 33.83 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.6345, allocations: 108.1 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.6345, allocations: 35.7 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.6346, allocations: 0 / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6347, allocations: 322.8 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.6349, allocations: 71.95 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.635, allocations: 85.67 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6351, allocations: 105.7 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6351, allocations: 0 / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004617/0.6356, allocations: 299.1 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.6357, allocations: 33.7 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6357, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6357, allocations: 4.094 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.6358, allocations: 15.91 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6358, allocations: 4 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.6359, allocations: 15.86 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.6359, allocations: 8 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.6361, allocations: 183.4 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.6362, allocations: 15.81 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.6364, allocations: 63.08 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6364, allocations: 4 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6364, allocations: 4.062 kB / 1.384 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6364, allocations: 3.938 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.6366, allocations: 221.5 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6366, allocations: 7.938 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.6367, allocations: 8 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6367, allocations: 0 / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6367, allocations: 12 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6368, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.6368, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.6373, allocations: 371 kB / 1.385 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.6375, allocations: 116.9 kB / 1.385 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.6375, allocations: 4 kB / 1.385 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.6376, allocations: 8 kB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.6377, allocations: 11.92 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.6377, allocations: 11.94 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001435/0.6379, allocations: 161.1 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6379, allocations: 0 / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002929/0.6382, allocations: 39.94 kB / 1.385 GB, free: 9.633 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.6385, allocations: 137.3 kB / 1.385 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.6388, allocations: 219.3 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6388, allocations: 4 kB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.639, allocations: 143.4 kB / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.6392, allocations: 12.19 kB / 1.385 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.6399, allocations: 340.2 kB / 1.386 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.6403, allocations: 0.7274 MB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.6403, allocations: 7.938 kB / 1.387 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.6404, allocations: 15.42 kB / 1.387 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.6404, allocations: 0 / 1.387 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of Templates: time 0.004773/0.6452, allocations: 1.208 MB / 1.388 GB, free: 6.758 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches