Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_10_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_10_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.001841/0.001841, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.002116/0.002116, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 64.34 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.361, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.008203/0.3693, allocations: 5.373 MB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6801/1.049, allocations: 150.8 MB / 1.17 GB, free: 16 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/1.051, allocations: 19.19 kB / 1.17 GB, free: 8 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000818/1.052, allocations: 203.1 kB / 1.171 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/1.054, allocations: 0.6122 MB / 1.171 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/1.057, allocations: 0.8812 MB / 1.172 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002454/1.059, allocations: 1.552 MB / 1.174 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/1.06, allocations: 0.6714 MB / 1.174 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/1.061, allocations: 0.5576 MB / 1.175 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00078/1.062, allocations: 0.5973 MB / 1.175 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/1.062, allocations: 134.8 kB / 1.176 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/1.064, allocations: 0.4893 MB / 1.176 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/1.064, allocations: 346 kB / 1.176 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007271/1.065, allocations: 0.6393 MB / 1.177 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.067, allocations: 1.812 MB / 1.179 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.067, allocations: 1.125 kB / 1.179 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.654e-06/1.067, allocations: 0 / 1.179 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.949e-05/1.067, allocations: 0 / 1.179 GB, free: 11.25 MB / 0.8887 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.003332/1.071, allocations: 1.575 MB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.071, allocations: 10.52 kB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.072, allocations: 199.8 kB / 1.181 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.073, allocations: 0.8062 MB / 1.181 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/1.073, allocations: 75.02 kB / 1.181 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.073, allocations: 97.28 kB / 1.181 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.075, allocations: 1.066 MB / 1.183 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.075, allocations: 7.938 kB / 1.183 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.075, allocations: 45.98 kB / 1.183 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/1.075, allocations: 24.59 kB / 1.183 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.077, allocations: 1.226 MB / 1.184 GB, free: 7.871 MB / 0.8887 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.005186/1.083, allocations: 3.191 MB / 1.187 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.084, allocations: 0.8945 MB / 1.188 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/1.085, allocations: 346.7 kB / 1.188 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/1.085, allocations: 33.14 kB / 1.188 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009976/1.086, allocations: 0.5586 MB / 1.189 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/1.086, allocations: 0 / 1.189 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of matching and sorting (n=92): time 0.003537/1.089, allocations: 1.34 MB / 1.19 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.09, allocations: 191.2 kB / 1.19 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/1.091, allocations: 0.6832 MB / 1.191 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/1.091, allocations: 41.2 kB / 1.191 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/1.091, allocations: 450.7 kB / 1.191 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/1.091, allocations: 295.4 kB / 1.192 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/1.092, allocations: 182.1 kB / 1.192 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.092, allocations: 399.8 kB / 1.192 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/1.092, allocations: 305.6 kB / 1.192 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/1.093, allocations: 406.2 kB / 1.193 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.094, allocations: 0.687 MB / 1.193 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.094, allocations: 2.844 kB / 1.193 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002192/1.097, allocations: 0.9584 MB / 1.194 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.097, allocations: 4.844 kB / 1.194 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.097, allocations: 0 / 1.194 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/1.097, allocations: 82.34 kB / 1.195 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/1.098, allocations: 189.8 kB / 1.195 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/1.1, allocations: 1.639 MB / 1.196 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/1.101, allocations: 98.45 kB / 1.196 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/1.101, allocations: 47.86 kB / 1.196 GB, free: 14.79 MB / 0.9044 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.0005625/1.102, allocations: 285.2 kB / 1.197 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.102, allocations: 96.12 kB / 1.197 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/1.105, allocations: 1.229 MB / 1.198 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.105, allocations: 10.09 kB / 1.198 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.105, allocations: 5.875 kB / 1.198 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.105, allocations: 7.969 kB / 1.198 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/1.106, allocations: 1.014 MB / 1.199 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.106, allocations: 0 / 1.199 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/1.107, allocations: 168.2 kB / 1.199 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/1.107, allocations: 70.86 kB / 1.199 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/1.107, allocations: 29.84 kB / 1.199 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.109, allocations: 1.658 MB / 1.201 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.109, allocations: 4.078 kB / 1.201 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.112, allocations: 1.04 MB / 1.202 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/1.112, allocations: 300.4 kB / 1.202 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.112, allocations: 27.67 kB / 1.202 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/1.113, allocations: 64.66 kB / 1.202 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.113, allocations: 84.81 kB / 1.202 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/1.113, allocations: 40.75 kB / 1.202 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006547/1.114, allocations: 499.8 kB / 1.203 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 1.203 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001017/1.115, allocations: 376.1 kB / 1.203 GB, free: 10.05 MB / 0.9044 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.001947/1.117, allocations: 0.6171 MB / 1.204 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002749/1.12, allocations: 1.173 MB / 1.205 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.12, allocations: 8.172 kB / 1.205 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.121, allocations: 0.568 MB / 1.206 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.122, allocations: 317.3 kB / 1.206 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/1.126, allocations: 1.928 MB / 1.208 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/1.126, allocations: 1.071 MB / 1.209 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.127, allocations: 131.4 kB / 1.209 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/1.127, allocations: 0 / 1.209 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of Templates: time 0.03132/1.158, allocations: 20.8 MB / 1.229 GB, free: 0.4922 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches