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 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.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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 66.83 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2887, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006703/0.2955, allocations: 5.355 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.187/0.4826, allocations: 150.8 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.4846, allocations: 15.94 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.486, allocations: 210 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.4896, allocations: 0.5996 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.493, allocations: 0.8819 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.4963, allocations: 1.553 MB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.4985, allocations: 0.6686 MB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.5, allocations: 0.5645 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.5015, allocations: 0.5896 MB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006086/0.5022, allocations: 136 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.5041, allocations: 0.4918 MB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.5048, allocations: 334.9 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.506, allocations: 0.653 MB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.509, allocations: 1.807 MB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.509, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 6.161e-06/0.509, allocations: 0 / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.5091, allocations: 11.94 kB / 1.229 GB, free: 5.148 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004094/0.5132, allocations: 1.573 MB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5132, allocations: 12.02 kB / 1.231 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.5148, allocations: 203.2 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.5165, allocations: 0.7934 MB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.5166, allocations: 82 kB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.5168, allocations: 96 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.5195, allocations: 1.071 MB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.5196, allocations: 0 / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.5198, allocations: 40 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.5198, allocations: 24 kB / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.5229, allocations: 1.225 MB / 1.234 GB, free: 15.87 MB / 0.9981 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.007265/0.5302, allocations: 3.191 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.5328, allocations: 0.89 MB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.5337, allocations: 339.7 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.5339, allocations: 45 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.5354, allocations: 0.5513 MB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 4.859e-06/0.5355, allocations: 0 / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.005357/0.5408, allocations: 1.344 MB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.541, allocations: 192.9 kB / 1.24 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.5426, allocations: 0.6842 MB / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.5427, allocations: 41.7 kB / 1.241 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.5433, allocations: 444.3 kB / 1.241 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.5437, allocations: 299.7 kB / 1.242 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.5441, allocations: 186.4 kB / 1.242 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.5444, allocations: 394.7 kB / 1.242 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.5454, allocations: 301.8 kB / 1.243 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5466, allocations: 407.1 kB / 1.243 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.5482, allocations: 0.6945 MB / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.5482, allocations: 0 / 1.244 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002346/0.5505, allocations: 0.9619 MB / 1.245 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5506, allocations: 5.406 kB / 1.245 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.5506, allocations: 4 kB / 1.245 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.5512, allocations: 76.84 kB / 1.245 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.552, allocations: 187.7 kB / 1.245 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.5542, allocations: 1.636 MB / 1.246 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/0.5551, allocations: 111.2 kB / 1.247 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.5552, allocations: 39.97 kB / 1.247 GB, free: 2.449 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,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.0005128/0.5557, allocations: 283.9 kB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.556, allocations: 90.88 kB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.5588, allocations: 1.23 MB / 1.248 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.5588, allocations: 12 kB / 1.248 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5588, allocations: 0 / 1.248 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5588, allocations: 3.984 kB / 1.248 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6259/1.185, allocations: 1.01 MB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.185, allocations: 0.9062 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/1.186, allocations: 165.2 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005196/1.186, allocations: 74.78 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.186, allocations: 33.41 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/1.188, allocations: 1.656 MB / 1.251 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.188, allocations: 1.562 kB / 1.251 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/1.191, allocations: 1.043 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/1.191, allocations: 303.4 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.191, allocations: 25.92 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/1.192, allocations: 69.34 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.192, allocations: 84.56 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/1.192, allocations: 40.38 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007349/1.193, allocations: 0.4896 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.193, allocations: 0 / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001177/1.194, allocations: 379.7 kB / 1.253 GB, free: 181.9 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,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.001418/1.196, allocations: 0.6288 MB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002955/1.199, allocations: 1.164 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.199, allocations: 1.188 kB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.2, allocations: 0.5718 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/1.201, allocations: 312.6 kB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/1.204, allocations: 1.878 MB / 1.258 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/1.204, allocations: 1.077 MB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008817/1.205, allocations: 284.2 kB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.206, allocations: 125.3 kB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.206, allocations: 0 / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of Templates: time 0.03115/1.237, allocations: 16.91 MB / 1.276 GB, free: 176.7 MB / 0.9981 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