Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_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_9_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.001794/0.001794, allocations: 99.56 kB / 16.27 MB, free: 5.977 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.001964/0.001964, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.66 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2756, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006455/0.2821, allocations: 4.287 MB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.785/1.067, allocations: 150.5 MB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009979/1.068, allocations: 18.53 kB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/1.069, allocations: 171.9 kB / 1.102 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/1.071, allocations: 0.4982 MB / 1.102 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/1.075, allocations: 0.8177 MB / 1.103 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002534/1.077, allocations: 1.269 MB / 1.104 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/1.079, allocations: 0.6111 MB / 1.105 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/1.08, allocations: 462.3 kB / 1.105 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/1.081, allocations: 490 kB / 1.106 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/1.081, allocations: 113.7 kB / 1.106 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/1.083, allocations: 457.8 kB / 1.106 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/1.084, allocations: 291.9 kB / 1.106 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009489/1.084, allocations: 0.5322 MB / 1.107 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/1.088, allocations: 1.543 MB / 1.109 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.088, allocations: 0 / 1.109 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/1.088, allocations: 0 / 1.109 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.878e-05/1.088, allocations: 0.7812 kB / 1.109 GB, free: 4.176 MB / 0.8575 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.003988/1.092, allocations: 1.398 MB / 1.11 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/1.092, allocations: 9.953 kB / 1.11 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/1.094, allocations: 184 kB / 1.11 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/1.095, allocations: 0.7303 MB / 1.111 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/1.095, allocations: 63.72 kB / 1.111 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.096, allocations: 80.64 kB / 1.111 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.098, allocations: 0.9001 MB / 1.112 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.098, allocations: 4.672 kB / 1.112 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.098, allocations: 36.33 kB / 1.112 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/1.098, allocations: 20.31 kB / 1.112 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/1.101, allocations: 1.094 MB / 1.113 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/1.107, allocations: 2.47 MB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/1.109, allocations: 0.8657 MB / 1.116 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/1.11, allocations: 294.8 kB / 1.116 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/1.11, allocations: 31.12 kB / 1.116 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000912/1.111, allocations: 496.8 kB / 1.117 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.565e-06/1.111, allocations: 0 / 1.117 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003094/1.114, allocations: 1.173 MB / 1.118 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.114, allocations: 189.3 kB / 1.118 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/1.115, allocations: 0.6204 MB / 1.119 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.391e-05/1.115, allocations: 43.98 kB / 1.119 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/1.116, allocations: 396.4 kB / 1.119 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.116, allocations: 256.5 kB / 1.12 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.116, allocations: 164 kB / 1.12 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.116, allocations: 384 kB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/1.117, allocations: 263.2 kB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/1.117, allocations: 359.6 kB / 1.121 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.119, allocations: 0.5942 MB / 1.121 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.119, allocations: 0.5 kB / 1.121 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002113/1.121, allocations: 0.8331 MB / 1.122 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.121, allocations: 12.69 kB / 1.122 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.121, allocations: 1.125 kB / 1.122 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/1.121, allocations: 82.83 kB / 1.122 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/1.122, allocations: 159.9 kB / 1.122 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.124, allocations: 1.627 MB / 1.124 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/1.125, allocations: 90.09 kB / 1.124 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.125, allocations: 33.83 kB / 1.124 GB, free: 14.98 MB / 0.8731 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.0006428/1.126, allocations: 269.8 kB / 1.124 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/1.126, allocations: 86.25 kB / 1.124 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/1.128, allocations: 1.049 MB / 1.125 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.129, allocations: 9 kB / 1.125 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.129, allocations: 0 / 1.125 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.129, allocations: 5.656 kB / 1.125 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/1.132, allocations: 1.906 MB / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.132, allocations: 0 / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/1.133, allocations: 143.2 kB / 1.127 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/1.133, allocations: 73.34 kB / 1.127 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/1.133, allocations: 24.89 kB / 1.127 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.135, allocations: 1.666 MB / 1.129 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.135, allocations: 3.938 kB / 1.129 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.137, allocations: 0.9779 MB / 1.13 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/1.138, allocations: 271 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.138, allocations: 21.17 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/1.138, allocations: 57.64 kB / 1.13 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.139, allocations: 69.81 kB / 1.13 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/1.139, allocations: 36.41 kB / 1.131 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006758/1.139, allocations: 456.1 kB / 1.131 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.139, allocations: 1.531 kB / 1.131 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001077/1.14, allocations: 308 kB / 1.131 GB, free: 12.39 MB / 0.8731 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.001402/1.142, allocations: 0.608 MB / 1.132 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002457/1.144, allocations: 1.019 MB / 1.133 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.144, allocations: 0 / 1.133 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009167/1.145, allocations: 0.5105 MB / 1.133 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.147, allocations: 287.6 kB / 1.134 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/1.151, allocations: 1.778 MB / 1.135 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/1.151, allocations: 1.013 MB / 1.136 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.152, allocations: 118.2 kB / 1.136 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.152, allocations: 0 / 1.136 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.02976/1.182, allocations: 18.06 MB / 1.154 GB, free: 4.547 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches