Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001774/0.001774, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 66 kB / 0.9116 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4884, allocations: 159.9 MB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.01325/0.5017, allocations: 4.921 MB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2858/0.7875, allocations: 148.4 MB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.7889, allocations: 19.88 kB / 1.218 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.7898, allocations: 162.8 kB / 1.218 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.7921, allocations: 489 kB / 1.218 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.7945, allocations: 0.7556 MB / 1.219 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.7965, allocations: 1.417 MB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.7975, allocations: 0.5987 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.7983, allocations: 0.4905 MB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.799, allocations: 0.5251 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.7992, allocations: 116 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.8003, allocations: 463.6 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.8006, allocations: 299.1 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.8013, allocations: 0.5752 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.8034, allocations: 1.628 MB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8034, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8035, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.8035, allocations: 0 / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002911/0.8064, allocations: 1.459 MB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.8065, allocations: 8.031 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.8075, allocations: 187.4 kB / 1.226 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.8086, allocations: 0.7546 MB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.8087, allocations: 69.94 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.8088, allocations: 83.98 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.8104, allocations: 0.9417 MB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.8105, allocations: 4 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-05/0.8106, allocations: 36 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.8106, allocations: 27.98 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.8124, allocations: 1.124 MB / 1.229 GB, free: 4.41 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.8169, allocations: 2.74 MB / 1.232 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.8185, allocations: 0.9071 MB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.8191, allocations: 310.7 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.8192, allocations: 32.69 kB / 1.233 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.8203, allocations: 0.5159 MB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.8203, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.003433/0.8237, allocations: 1.255 MB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.8239, allocations: 196.9 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/0.8248, allocations: 0.6526 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.8249, allocations: 41.7 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.8252, allocations: 396.4 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.8255, allocations: 268.2 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.8258, allocations: 178.4 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8259, allocations: 390.7 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.8265, allocations: 273.9 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.8272, allocations: 375.1 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.8284, allocations: 0.6242 MB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8284, allocations: 0 / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002153/0.8306, allocations: 0.8839 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.8306, allocations: 4 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8307, allocations: 4.031 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.8313, allocations: 80.78 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.832, allocations: 167.8 kB / 1.239 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.8347, allocations: 1.642 MB / 1.241 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.8358, allocations: 89.34 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8359, allocations: 39.97 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006951/0.8366, allocations: 277.1 kB / 1.241 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.837, allocations: 86.95 kB / 1.241 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.8401, allocations: 1.136 MB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.8401, allocations: 11.94 kB / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8401, allocations: 0 / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.8402, allocations: 7.984 kB / 1.243 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.8452, allocations: 2.012 MB / 1.245 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.8453, allocations: 0 / 1.245 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.8459, allocations: 155.7 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.8465, allocations: 72.78 kB / 1.245 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.8466, allocations: 35.97 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.8488, allocations: 1.666 MB / 1.246 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8488, allocations: 3.984 kB / 1.246 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.8513, allocations: 1.039 MB / 1.247 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.8519, allocations: 279.6 kB / 1.248 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.8521, allocations: 20 kB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008738/0.853, allocations: 75.8 kB / 1.248 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.8532, allocations: 80.83 kB / 1.248 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/0.8533, allocations: 39.97 kB / 1.248 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007923/0.8541, allocations: 467 kB / 1.248 GB, free: 256 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8541, allocations: 0 / 1.248 GB, free: 256 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.646/1.5, allocations: 324.8 kB / 1.249 GB, free: 183.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002187/1.502, allocations: 0.6024 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003465/1.506, allocations: 1.088 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.506, allocations: 0.75 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.507, allocations: 0.54 MB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.509, allocations: 305.9 kB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.512, allocations: 2.13 MB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/1.513, allocations: 1.038 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009396/1.514, allocations: 266 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.514, allocations: 109.1 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.514, allocations: 3.906 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02814/1.542, allocations: 15.49 MB / 1.27 GB, free: 179.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches