Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001659/0.00166, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.691/2.691, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 60.69 kB / 0.9092 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3551, allocations: 159.1 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007345/0.3625, allocations: 5.003 MB / 1.07 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7955/1.158, allocations: 150.7 MB / 1.217 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/1.159, allocations: 16.69 kB / 1.217 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008227/1.16, allocations: 193.6 kB / 1.217 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/1.163, allocations: 0.5663 MB / 1.217 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/1.166, allocations: 0.8742 MB / 1.218 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00222/1.168, allocations: 1.457 MB / 1.22 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/1.169, allocations: 0.595 MB / 1.22 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/1.17, allocations: 0.5188 MB / 1.221 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/1.171, allocations: 0.5399 MB / 1.221 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.171, allocations: 121.5 kB / 1.221 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/1.172, allocations: 494.6 kB / 1.222 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/1.172, allocations: 308 kB / 1.222 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006818/1.173, allocations: 0.5861 MB / 1.223 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.176, allocations: 1.676 MB / 1.224 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/1.176, allocations: 3.984 kB / 1.224 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.689e-06/1.176, allocations: 2.25 kB / 1.224 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.954e-05/1.176, allocations: 3.938 kB / 1.224 GB, free: 3.371 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003178/1.179, allocations: 1.494 MB / 1.226 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.179, allocations: 8.562 kB / 1.226 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/1.18, allocations: 197.6 kB / 1.226 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/1.181, allocations: 0.7653 MB / 1.227 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/1.181, allocations: 65.72 kB / 1.227 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.181, allocations: 89.77 kB / 1.227 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.183, allocations: 0.9846 MB / 1.228 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.183, allocations: 0 / 1.228 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.183, allocations: 38.84 kB / 1.228 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.183, allocations: 21.41 kB / 1.228 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.185, allocations: 1.155 MB / 1.229 GB, free: 112 kB / 0.9356 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.004732/1.19, allocations: 2.916 MB / 1.232 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/1.192, allocations: 0.9699 MB / 1.233 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/1.193, allocations: 334.3 kB / 1.233 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/1.193, allocations: 28.61 kB / 1.233 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.194, allocations: 0.544 MB / 1.234 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/1.194, allocations: 0 / 1.234 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88): time 0.003934/1.198, allocations: 1.29 MB / 1.235 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.198, allocations: 200.9 kB / 1.235 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/1.199, allocations: 0.6527 MB / 1.236 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/1.199, allocations: 49.64 kB / 1.236 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/1.199, allocations: 408.4 kB / 1.236 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.2, allocations: 283.9 kB / 1.237 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/1.2, allocations: 182.5 kB / 1.237 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.2, allocations: 382.8 kB / 1.237 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/1.201, allocations: 289.8 kB / 1.237 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/1.202, allocations: 399 kB / 1.238 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.203, allocations: 0.6476 MB / 1.238 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/1.203, allocations: 0 / 1.238 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002238/1.205, allocations: 0.9229 MB / 1.239 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.205, allocations: 8 kB / 1.239 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.205, allocations: 3.938 kB / 1.239 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/1.206, allocations: 80.81 kB / 1.239 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/1.206, allocations: 175.8 kB / 1.24 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.209, allocations: 1.631 MB / 1.241 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.21, allocations: 108.1 kB / 1.241 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/1.21, allocations: 39.97 kB / 1.241 GB, free: 3.18 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (104): * Single equations (assignments): 103 * 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.0005803/1.211, allocations: 269.2 kB / 1.242 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/1.211, allocations: 95.61 kB / 1.242 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/1.214, allocations: 1.196 MB / 1.243 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.214, allocations: 15.98 kB / 1.243 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/1.214, allocations: 4 kB / 1.243 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.214, allocations: 5.672 kB / 1.243 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/1.218, allocations: 2.094 MB / 1.245 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/1.218, allocations: 0 / 1.245 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/1.218, allocations: 171.7 kB / 1.245 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/1.219, allocations: 68.8 kB / 1.245 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/1.219, allocations: 27.97 kB / 1.245 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/1.221, allocations: 1.663 MB / 1.247 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.221, allocations: 1.562 kB / 1.247 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.224, allocations: 1.09 MB / 1.248 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.224, allocations: 287.6 kB / 1.248 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.224, allocations: 27.91 kB / 1.248 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/1.225, allocations: 67.92 kB / 1.248 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.225, allocations: 80.88 kB / 1.248 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/1.225, allocations: 43.97 kB / 1.248 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006541/1.226, allocations: 474.9 kB / 1.249 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/1.226, allocations: 0 / 1.249 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00106/1.227, allocations: 355.3 kB / 1.249 GB, free: 10.92 MB / 0.9669 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * 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.002015/1.229, allocations: 0.6279 MB / 1.25 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00283/1.232, allocations: 1.132 MB / 1.251 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.232, allocations: 0 / 1.251 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.233, allocations: 0.5627 MB / 1.251 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.234, allocations: 313.6 kB / 1.252 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/1.238, allocations: 1.807 MB / 1.253 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/1.239, allocations: 1.044 MB / 1.255 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/1.239, allocations: 131.4 kB / 1.255 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of SimCode: time 3.757e-06/1.239, allocations: 4 kB / 1.255 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.03024/1.269, allocations: 19.52 MB / 1.274 GB, free: 1.953 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches