Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.002029/0.002029, allocations: 188 kB / 17.2 MB, free: 5.938 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 62.78 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8187, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007009/0.8258, allocations: 4.825 MB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2011/1.027, allocations: 150.6 MB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/1.028, allocations: 15.94 kB / 1.235 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/1.029, allocations: 186.2 kB / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/1.031, allocations: 0.5358 MB / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/1.033, allocations: 0.8346 MB / 1.236 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001771/1.035, allocations: 1.378 MB / 1.238 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009246/1.036, allocations: 0.5947 MB / 1.238 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006951/1.037, allocations: 478.3 kB / 1.239 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/1.038, allocations: 0.5057 MB / 1.239 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/1.038, allocations: 116 kB / 1.239 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/1.039, allocations: 459.6 kB / 1.24 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/1.039, allocations: 295.1 kB / 1.24 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/1.04, allocations: 0.5636 MB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/1.042, allocations: 1.601 MB / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.042, allocations: 0 / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/1.042, allocations: 0 / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.534e-05/1.042, allocations: 0 / 1.242 GB, free: 11.43 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002623/1.044, allocations: 1.422 MB / 1.243 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.044, allocations: 16.02 kB / 1.243 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/1.045, allocations: 175.4 kB / 1.244 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.046, allocations: 0.7344 MB / 1.244 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/1.047, allocations: 70 kB / 1.244 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/1.047, allocations: 79.98 kB / 1.244 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.048, allocations: 0.9184 MB / 1.245 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.048, allocations: 3.938 kB / 1.245 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/1.048, allocations: 36 kB / 1.245 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.048, allocations: 20 kB / 1.245 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/1.05, allocations: 1.108 MB / 1.247 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/1.055, allocations: 2.778 MB / 1.249 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.056, allocations: 0.8943 MB / 1.25 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/1.057, allocations: 302.7 kB / 1.25 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/1.057, allocations: 32.61 kB / 1.25 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/1.058, allocations: 499.1 kB / 1.251 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=79): time 2.354e-06/1.058, allocations: 0 / 1.251 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=79): time 0.003291/1.061, allocations: 1.186 MB / 1.252 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/1.061, allocations: 196.6 kB / 1.252 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009232/1.062, allocations: 0.6254 MB / 1.253 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/1.062, allocations: 41.7 kB / 1.253 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/1.063, allocations: 388.3 kB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/1.063, allocations: 260.2 kB / 1.253 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/1.063, allocations: 162.5 kB / 1.254 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.064, allocations: 390.7 kB / 1.254 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/1.064, allocations: 265.9 kB / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/1.065, allocations: 363 kB / 1.255 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.066, allocations: 0.6072 MB / 1.255 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.066, allocations: 0 / 1.255 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002114/1.068, allocations: 0.8527 MB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.068, allocations: 4 kB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.068, allocations: 4.062 kB / 1.256 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/1.069, allocations: 84.81 kB / 1.256 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/1.069, allocations: 163.7 kB / 1.256 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.072, allocations: 1.648 MB / 1.258 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/1.073, allocations: 83.38 kB / 1.258 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/1.073, allocations: 35.97 kB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005616/1.073, allocations: 280.1 kB / 1.258 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/1.074, allocations: 86.95 kB / 1.258 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/1.076, allocations: 1.054 MB / 1.259 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.076, allocations: 12 kB / 1.259 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/1.076, allocations: 3.938 kB / 1.259 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.076, allocations: 11.86 kB / 1.259 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/1.08, allocations: 1.95 MB / 1.261 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.08, allocations: 0 / 1.261 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/1.08, allocations: 147.8 kB / 1.261 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/1.081, allocations: 68.8 kB / 1.262 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/1.081, allocations: 27.97 kB / 1.262 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.083, allocations: 1.674 MB / 1.263 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.083, allocations: 3.984 kB / 1.263 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/1.085, allocations: 0.9883 MB / 1.264 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/1.086, allocations: 279.7 kB / 1.264 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.086, allocations: 16 kB / 1.264 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/1.086, allocations: 59.94 kB / 1.265 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.087, allocations: 72.89 kB / 1.265 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/1.087, allocations: 31.98 kB / 1.265 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006312/1.087, allocations: 455 kB / 1.265 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/1.087, allocations: 4 kB / 1.265 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009435/1.088, allocations: 323.2 kB / 1.265 GB, free: 2.676 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00201/1.09, allocations: 0.6013 MB / 1.266 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002513/1.093, allocations: 1.038 MB / 1.267 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.093, allocations: 0 / 1.267 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/1.094, allocations: 0.512 MB / 1.267 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.095, allocations: 307.2 kB / 1.268 GB, free: 412 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.098, allocations: 1.691 MB / 1.269 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/1.099, allocations: 1.023 MB / 1.27 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/1.1, allocations: 115.4 kB / 1.271 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.1, allocations: 0 / 1.271 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.02707/1.127, allocations: 18.48 MB / 1.289 GB, free: 11.08 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches