Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007998/0.007998, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001722/0.001722, allocations: 193.3 kB / 16.67 MB, free: 6.379 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3396, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00691/0.3466, allocations: 5.354 MB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9704/1.317, allocations: 150.8 MB / 1.36 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/1.318, allocations: 19.78 kB / 1.36 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000942/1.319, allocations: 204.4 kB / 1.36 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/1.322, allocations: 0.6084 MB / 1.361 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/1.324, allocations: 0.883 MB / 1.362 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002273/1.327, allocations: 1.562 MB / 1.363 GB, free: 7.051 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.328, allocations: 0.6692 MB / 1.364 GB, free: 6.707 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/1.329, allocations: 0.5669 MB / 1.365 GB, free: 6.426 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/1.33, allocations: 0.589 MB / 1.365 GB, free: 6.117 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003928/1.331, allocations: 138.7 kB / 1.365 GB, free: 6.113 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/1.332, allocations: 0.5129 MB / 1.366 GB, free: 5.996 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/1.332, allocations: 340 kB / 1.366 GB, free: 5.777 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.334, allocations: 0.6495 MB / 1.367 GB, free: 5.348 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/1.336, allocations: 1.862 MB / 1.369 GB, free: 4.555 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.336, allocations: 0 / 1.369 GB, free: 4.555 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/1.336, allocations: 1.406 kB / 1.369 GB, free: 4.555 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.437e-05/1.336, allocations: 0 / 1.369 GB, free: 4.555 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004093/1.341, allocations: 1.575 MB / 1.37 GB, free: 3.504 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.341, allocations: 9.688 kB / 1.37 GB, free: 3.504 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/1.342, allocations: 202.5 kB / 1.37 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/1.343, allocations: 0.8213 MB / 1.371 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/1.343, allocations: 80.53 kB / 1.371 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.343, allocations: 101.4 kB / 1.371 GB, free: 2.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/1.345, allocations: 1.067 MB / 1.372 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.345, allocations: 1.188 kB / 1.372 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/1.345, allocations: 42.03 kB / 1.372 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/1.345, allocations: 23.84 kB / 1.372 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.347, allocations: 1.222 MB / 1.374 GB, free: 1.699 MB / 1.061 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.005003/1.352, allocations: 3.145 MB / 1.377 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/1.355, allocations: 0.9037 MB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008945/1.356, allocations: 352.3 kB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/1.356, allocations: 38.11 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/1.357, allocations: 0.5401 MB / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=92): time 3.497e-06/1.357, allocations: 0 / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=92): time 0.003701/1.361, allocations: 1.347 MB / 1.38 GB, free: 13.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.361, allocations: 199.3 kB / 1.38 GB, free: 13.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/1.362, allocations: 0.6742 MB / 1.381 GB, free: 12.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/1.362, allocations: 42.64 kB / 1.381 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.363, allocations: 443.8 kB / 1.381 GB, free: 12.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/1.363, allocations: 300.3 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/1.363, allocations: 184.1 kB / 1.382 GB, free: 12.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.363, allocations: 394.8 kB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/1.364, allocations: 306.5 kB / 1.382 GB, free: 11.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/1.365, allocations: 409.8 kB / 1.383 GB, free: 11.28 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.366, allocations: 0.688 MB / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.366, allocations: 0 / 1.383 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002298/1.368, allocations: 0.9632 MB / 1.384 GB, free: 10.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.368, allocations: 7 kB / 1.384 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.368, allocations: 1.219 kB / 1.384 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/1.369, allocations: 76.62 kB / 1.384 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/1.37, allocations: 189.7 kB / 1.384 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.372, allocations: 1.634 MB / 1.386 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000981/1.373, allocations: 107.4 kB / 1.386 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/1.373, allocations: 45.19 kB / 1.386 GB, free: 8.641 MB / 1.076 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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.0005534/1.374, allocations: 285.1 kB / 1.386 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.374, allocations: 91.72 kB / 1.387 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/1.377, allocations: 1.227 MB / 1.388 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.377, allocations: 11.38 kB / 1.388 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.377, allocations: 0 / 1.388 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/1.377, allocations: 3.984 kB / 1.388 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.378, allocations: 1.018 MB / 1.389 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.378, allocations: 0 / 1.389 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/1.379, allocations: 168.6 kB / 1.389 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/1.379, allocations: 73.97 kB / 1.389 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/1.38, allocations: 34.56 kB / 1.389 GB, free: 6.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.381, allocations: 1.656 MB / 1.391 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.381, allocations: 3.938 kB / 1.391 GB, free: 5.211 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/1.384, allocations: 1.043 MB / 1.392 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/1.384, allocations: 297 kB / 1.392 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/1.384, allocations: 22.03 kB / 1.392 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/1.385, allocations: 72.27 kB / 1.392 GB, free: 4.352 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.385, allocations: 85.25 kB / 1.392 GB, free: 4.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/1.385, allocations: 40.61 kB / 1.392 GB, free: 4.297 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006981/1.386, allocations: 498.3 kB / 1.393 GB, free: 4.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.81e-07/1.386, allocations: 0 / 1.393 GB, free: 4.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00141/1.387, allocations: 375.4 kB / 1.393 GB, free: 3.914 MB / 1.076 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * 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.002035/1.39, allocations: 0.6252 MB / 1.394 GB, free: 3.613 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.392, allocations: 0.9279 MB / 1.395 GB, free: 3.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.392, allocations: 4.125 kB / 1.395 GB, free: 3.133 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009686/1.393, allocations: 0.5723 MB / 1.395 GB, free: 2.816 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.394, allocations: 310.8 kB / 1.395 GB, free: 2.656 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/1.397, allocations: 1.858 MB / 1.397 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/1.398, allocations: 1.075 MB / 1.398 GB, free: 0.707 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008937/1.399, allocations: 277.8 kB / 1.399 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/1.399, allocations: 126 kB / 1.399 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/1.399, allocations: 0 / 1.399 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of Templates: time 0.03243/1.432, allocations: 17.42 MB / 1.416 GB, free: 1.363 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches