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.001016/0.001016, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008359/0.008359, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.447/2.447, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7107, allocations: 142.4 MB / 0.955 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004146/0.7149, allocations: 3.885 MB / 0.9588 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.8842, allocations: 146.6 MB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.885, allocations: 15.88 kB / 1.102 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.8855, allocations: 139 kB / 1.102 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.8869, allocations: 433.4 kB / 1.103 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.8886, allocations: 0.7071 MB / 1.103 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.8899, allocations: 1.187 MB / 1.104 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.8907, allocations: 0.5824 MB / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.8913, allocations: 330.4 kB / 1.105 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.8917, allocations: 373.9 kB / 1.106 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.8918, allocations: 28 kB / 1.106 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000765/0.8926, allocations: 359.7 kB / 1.106 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.8928, allocations: 187.1 kB / 1.106 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.8932, allocations: 442.9 kB / 1.107 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.8946, allocations: 1.448 MB / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8947, allocations: 0 / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8947, allocations: 0 / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.8947, allocations: 0 / 1.108 GB, free: 2.074 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.002354/0.8971, allocations: 1.194 MB / 1.109 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8971, allocations: 8.031 kB / 1.109 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009382/0.898, allocations: 199.4 kB / 1.109 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.8992, allocations: 0.7343 MB / 1.11 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.8993, allocations: 66 kB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.8994, allocations: 83.98 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.901, allocations: 0.9028 MB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.9011, allocations: 0 / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/0.9012, allocations: 36 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.9012, allocations: 20 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.9029, allocations: 1.108 MB / 1.112 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.9072, allocations: 2.496 MB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.9088, allocations: 0.8694 MB / 1.116 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.9094, allocations: 302.7 kB / 1.116 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/0.9095, allocations: 28.62 kB / 1.116 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009097/0.9104, allocations: 0.4912 MB / 1.116 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.816e-06/0.9104, allocations: 0 / 1.116 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003135/0.9135, allocations: 1.194 MB / 1.118 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.9137, allocations: 192.6 kB / 1.118 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009155/0.9146, allocations: 0.6175 MB / 1.118 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/0.9147, allocations: 49.7 kB / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.9151, allocations: 384.4 kB / 1.119 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.9153, allocations: 260.3 kB / 1.119 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.9155, allocations: 65.69 kB / 1.119 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.9156, allocations: 390.7 kB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.9162, allocations: 261.8 kB / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.9168, allocations: 363.1 kB / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.9179, allocations: 0.6072 MB / 1.121 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9179, allocations: 0 / 1.121 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00202/0.92, allocations: 0.8371 MB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.92, allocations: 4 kB / 1.121 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.92, allocations: 8.078 kB / 1.121 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/0.9207, allocations: 80.78 kB / 1.122 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.9213, allocations: 163.8 kB / 1.122 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.9234, allocations: 1.53 MB / 1.123 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.9242, allocations: 110.9 kB / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.9243, allocations: 35.97 kB / 1.123 GB, free: 1.91 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.0004498/0.9248, allocations: 268.4 kB / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.9249, allocations: 79 kB / 1.124 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.9273, allocations: 1.061 MB / 1.125 GB, free: 496 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.9273, allocations: 11.98 kB / 1.125 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.9273, allocations: 3.938 kB / 1.125 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9273, allocations: 7.984 kB / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.9305, allocations: 1.903 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9305, allocations: 4 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.9311, allocations: 147.8 kB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/0.9316, allocations: 84.72 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.9317, allocations: 27.97 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.9335, allocations: 1.54 MB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9336, allocations: 4 kB / 1.128 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.9355, allocations: 0.9921 MB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.9359, allocations: 275.7 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.936, allocations: 23.98 kB / 1.13 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/0.9367, allocations: 77.91 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.9369, allocations: 80.77 kB / 1.13 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.937, allocations: 31.98 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005716/0.9376, allocations: 455 kB / 1.13 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9376, allocations: 4 kB / 1.13 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008598/0.9384, allocations: 307.3 kB / 1.13 GB, free: 10.3 MB / 0.8887 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.001393/0.9398, allocations: 0.5957 MB / 1.131 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.9415, allocations: 0.8274 MB / 1.132 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9415, allocations: 4 kB / 1.132 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.9425, allocations: 0.512 MB / 1.132 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.9439, allocations: 253.8 kB / 1.133 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.9484, allocations: 2.193 MB / 1.135 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.9491, allocations: 1.016 MB / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009139/0.95, allocations: 262.4 kB / 1.136 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.9503, allocations: 111.4 kB / 1.136 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/0.9503, allocations: 0 / 1.136 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of Templates: time 0.02436/0.9746, allocations: 13.85 MB / 1.15 GB, free: 6.953 MB / 0.9044 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/jenkins/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