Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 106.2 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.001562/0.001562, allocations: 189.8 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 64.22 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3417, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007623/0.3494, allocations: 4.792 MB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8852/1.235, allocations: 150.6 MB / 1.216 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/1.236, allocations: 15.41 kB / 1.216 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009162/1.237, allocations: 187.3 kB / 1.216 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/1.239, allocations: 0.537 MB / 1.217 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/1.242, allocations: 0.8229 MB / 1.217 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002305/1.244, allocations: 1.358 MB / 1.219 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/1.245, allocations: 0.5758 MB / 1.219 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/1.246, allocations: 478.8 kB / 1.22 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/1.248, allocations: 0.4884 MB / 1.22 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003552/1.248, allocations: 113.4 kB / 1.22 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.249, allocations: 450.9 kB / 1.221 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000453/1.25, allocations: 293.5 kB / 1.221 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.251, allocations: 0.5538 MB / 1.222 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/1.253, allocations: 1.575 MB / 1.223 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.253, allocations: 0 / 1.223 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.253, allocations: 0 / 1.223 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.582e-05/1.253, allocations: 0 / 1.223 GB, free: 4.316 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002587/1.256, allocations: 1.405 MB / 1.225 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.256, allocations: 9.031 kB / 1.225 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/1.257, allocations: 185.6 kB / 1.225 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.258, allocations: 0.7389 MB / 1.225 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/1.258, allocations: 60.12 kB / 1.226 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/1.258, allocations: 80.28 kB / 1.226 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/1.259, allocations: 0.8987 MB / 1.226 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.26, allocations: 0 / 1.226 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/1.26, allocations: 40.53 kB / 1.227 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/1.26, allocations: 25.34 kB / 1.227 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.261, allocations: 1.095 MB / 1.228 GB, free: 1.32 MB / 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.003973/1.265, allocations: 2.679 MB / 1.23 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.267, allocations: 0.8644 MB / 1.231 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/1.267, allocations: 302.7 kB / 1.231 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/1.267, allocations: 28.61 kB / 1.231 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008514/1.268, allocations: 0.489 MB / 1.232 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/1.268, allocations: 0 / 1.232 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=79): time 0.00315/1.271, allocations: 1.182 MB / 1.233 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.272, allocations: 192.6 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/1.272, allocations: 0.6213 MB / 1.234 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/1.272, allocations: 45.7 kB / 1.234 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/1.273, allocations: 380.5 kB / 1.234 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/1.273, allocations: 259.1 kB / 1.234 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/1.273, allocations: 162.5 kB / 1.235 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.273, allocations: 390.8 kB / 1.235 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/1.274, allocations: 265.8 kB / 1.235 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/1.274, allocations: 351.1 kB / 1.236 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.276, allocations: 0.6054 MB / 1.236 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.276, allocations: 4 kB / 1.236 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001847/1.277, allocations: 0.837 MB / 1.237 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.277, allocations: 4 kB / 1.237 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.277, allocations: 7.938 kB / 1.237 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/1.278, allocations: 84.86 kB / 1.237 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/1.279, allocations: 151.8 kB / 1.237 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.281, allocations: 1.646 MB / 1.239 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/1.282, allocations: 86.55 kB / 1.239 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/1.282, allocations: 35.97 kB / 1.239 GB, free: 5.551 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: 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.0004304/1.282, allocations: 276.9 kB / 1.239 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.282, allocations: 87.09 kB / 1.239 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/1.285, allocations: 1.047 MB / 1.24 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.285, allocations: 12 kB / 1.24 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.285, allocations: 0 / 1.24 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.285, allocations: 7.984 kB / 1.24 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/1.288, allocations: 1.908 MB / 1.242 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.288, allocations: 0 / 1.242 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/1.288, allocations: 139.8 kB / 1.242 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004422/1.289, allocations: 79.5 kB / 1.242 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/1.289, allocations: 23.98 kB / 1.242 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/1.291, allocations: 1.662 MB / 1.244 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.291, allocations: 3.938 kB / 1.244 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/1.293, allocations: 0.9766 MB / 1.245 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/1.293, allocations: 271.6 kB / 1.245 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.293, allocations: 27.94 kB / 1.245 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006812/1.294, allocations: 59.92 kB / 1.245 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.294, allocations: 72.91 kB / 1.245 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/1.294, allocations: 31.97 kB / 1.245 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006019/1.295, allocations: 451 kB / 1.246 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/1.295, allocations: 0 / 1.246 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009601/1.296, allocations: 327.2 kB / 1.246 GB, free: 13.86 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: 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.001491/1.297, allocations: 0.5966 MB / 1.247 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002375/1.3, allocations: 1.023 MB / 1.248 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.3, allocations: 0 / 1.248 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/1.301, allocations: 0.5081 MB / 1.248 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.302, allocations: 291 kB / 1.249 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/1.305, allocations: 1.684 MB / 1.25 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.306, allocations: 1.016 MB / 1.251 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.306, allocations: 119.4 kB / 1.251 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of SimCode: time 1.142e-06/1.306, allocations: 0 / 1.251 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.02662/1.333, allocations: 18.21 MB / 1.269 GB, free: 6.594 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches