Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_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.007625/0.007625, allocations: 100.6 kB / 15.73 MB, free: 5.961 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.00184/0.00184, allocations: 193.4 kB / 16.67 MB, free: 5.883 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8447, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006554/0.8513, allocations: 4.834 MB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1677/1.019, allocations: 151 MB / 1.373 GB, free: 5.645 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/1.02, allocations: 15.88 kB / 1.373 GB, free: 5.629 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007152/1.021, allocations: 190.2 kB / 1.373 GB, free: 5.441 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/1.022, allocations: 0.5486 MB / 1.373 GB, free: 4.895 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/1.024, allocations: 0.8423 MB / 1.374 GB, free: 4.059 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001897/1.026, allocations: 1.378 MB / 1.376 GB, free: 2.676 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/1.027, allocations: 424.7 kB / 1.376 GB, free: 2.238 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008408/1.028, allocations: 486.3 kB / 1.377 GB, free: 1.762 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/1.029, allocations: 0.5018 MB / 1.377 GB, free: 1.258 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.029, allocations: 123.9 kB / 1.377 GB, free: 1.137 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008666/1.03, allocations: 487.6 kB / 1.378 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/1.03, allocations: 299.1 kB / 1.378 GB, free: 376 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004515/1.03, allocations: 0.5558 MB / 1.378 GB, free: 15.8 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/1.032, allocations: 1.651 MB / 1.38 GB, free: 14.15 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.032, allocations: 0 / 1.38 GB, free: 14.15 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.212e-06/1.032, allocations: 0 / 1.38 GB, free: 14.15 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.032, allocations: 0 / 1.38 GB, free: 14.15 MB / 1.107 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.002531/1.035, allocations: 1.452 MB / 1.381 GB, free: 12.64 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.035, allocations: 16.02 kB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009136/1.036, allocations: 188.1 kB / 1.382 GB, free: 12.45 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.037, allocations: 0.77 MB / 1.382 GB, free: 11.63 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/1.037, allocations: 62 kB / 1.382 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.037, allocations: 83.98 kB / 1.383 GB, free: 11.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.039, allocations: 0.9184 MB / 1.383 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/1.039, allocations: 4 kB / 1.383 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/1.039, allocations: 32 kB / 1.383 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/1.039, allocations: 24 kB / 1.383 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.04, allocations: 1.108 MB / 1.385 GB, free: 9.367 MB / 1.107 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.00389/1.044, allocations: 2.718 MB / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/1.046, allocations: 0.8492 MB / 1.388 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/1.046, allocations: 278.7 kB / 1.388 GB, free: 5.383 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/1.046, allocations: 28.61 kB / 1.388 GB, free: 5.355 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/1.047, allocations: 0.492 MB / 1.389 GB, free: 4.844 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/1.047, allocations: 0 / 1.389 GB, free: 4.844 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003086/1.05, allocations: 1.19 MB / 1.39 GB, free: 3.629 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.05, allocations: 196.6 kB / 1.39 GB, free: 3.395 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/1.051, allocations: 0.6214 MB / 1.391 GB, free: 2.766 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/1.051, allocations: 45.7 kB / 1.391 GB, free: 2.715 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/1.052, allocations: 393 kB / 1.391 GB, free: 2.324 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.052, allocations: 269.7 kB / 1.391 GB, free: 2.059 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.052, allocations: 166.5 kB / 1.392 GB, free: 1.891 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.052, allocations: 394.7 kB / 1.392 GB, free: 1.496 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/1.053, allocations: 261.9 kB / 1.392 GB, free: 1.238 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/1.053, allocations: 359.1 kB / 1.393 GB, free: 0.875 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.054, allocations: 0.6072 MB / 1.393 GB, free: 264 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.054, allocations: 0 / 1.393 GB, free: 264 kB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001939/1.056, allocations: 0.8492 MB / 1.394 GB, free: 15.4 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.056, allocations: 8 kB / 1.394 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.056, allocations: 0 / 1.394 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/1.057, allocations: 88.75 kB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/1.058, allocations: 159.8 kB / 1.394 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/1.06, allocations: 1.642 MB / 1.396 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/1.06, allocations: 99.58 kB / 1.396 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/1.061, allocations: 39.97 kB / 1.396 GB, free: 13.22 MB / 1.123 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.0003836/1.061, allocations: 267.4 kB / 1.396 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.061, allocations: 83.44 kB / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/1.063, allocations: 1.058 MB / 1.397 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.063, allocations: 8 kB / 1.397 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.063, allocations: 3.938 kB / 1.397 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.063, allocations: 7.984 kB / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/1.067, allocations: 1.963 MB / 1.399 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.067, allocations: 0 / 1.399 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/1.067, allocations: 143.8 kB / 1.399 GB, free: 9.605 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.068, allocations: 72.8 kB / 1.4 GB, free: 9.531 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/1.068, allocations: 27.97 kB / 1.4 GB, free: 9.504 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.07, allocations: 1.686 MB / 1.401 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.07, allocations: 64 / 1.401 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/1.072, allocations: 0.9945 MB / 1.402 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/1.072, allocations: 280.2 kB / 1.402 GB, free: 6.371 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.072, allocations: 20 kB / 1.402 GB, free: 6.352 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/1.073, allocations: 55.94 kB / 1.402 GB, free: 6.297 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.073, allocations: 72.89 kB / 1.403 GB, free: 6.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/1.073, allocations: 35.98 kB / 1.403 GB, free: 6.188 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005673/1.074, allocations: 455 kB / 1.403 GB, free: 5.746 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.074, allocations: 0 / 1.403 GB, free: 5.746 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008871/1.074, allocations: 323.2 kB / 1.403 GB, free: 5.43 MB / 1.123 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.001309/1.076, allocations: 0.6003 MB / 1.404 GB, free: 5.004 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.077, allocations: 0.8 MB / 1.405 GB, free: 4.191 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.077, allocations: 0 / 1.405 GB, free: 4.191 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/1.078, allocations: 0.5003 MB / 1.405 GB, free: 3.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.079, allocations: 314.4 kB / 1.405 GB, free: 3.398 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/1.082, allocations: 1.65 MB / 1.407 GB, free: 1.719 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/1.083, allocations: 1.015 MB / 1.408 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007206/1.084, allocations: 258.5 kB / 1.408 GB, free: 424 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/1.084, allocations: 107.4 kB / 1.408 GB, free: 316 kB / 1.123 GB Notification: Performance of SimCode: time 8.72e-07/1.084, allocations: 0 / 1.408 GB, free: 316 kB / 1.123 GB Notification: Performance of Templates: time 0.02529/1.109, allocations: 15.39 MB / 1.423 GB, free: 1.09 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches