Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_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_9_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.001538/0.001538, 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.002065/0.002066, 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.367/2.367, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.39 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.282, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007064/0.2891, allocations: 4.515 MB / 0.9547 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7233/1.012, allocations: 150.7 MB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/1.013, allocations: 18.28 kB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/1.014, allocations: 177.1 kB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/1.016, allocations: 0.5238 MB / 1.103 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/1.018, allocations: 0.8673 MB / 1.103 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001931/1.02, allocations: 1.374 MB / 1.105 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009816/1.021, allocations: 0.6491 MB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/1.022, allocations: 0.4982 MB / 1.106 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008587/1.023, allocations: 0.5296 MB / 1.106 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/1.023, allocations: 124.8 kB / 1.106 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/1.025, allocations: 481.7 kB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/1.025, allocations: 314.1 kB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009279/1.026, allocations: 0.5737 MB / 1.108 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/1.03, allocations: 1.651 MB / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.03, allocations: 1 kB / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.305e-06/1.03, allocations: 1.203 kB / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.833e-05/1.03, allocations: 0 / 1.109 GB, free: 4.547 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003812/1.034, allocations: 1.489 MB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.034, allocations: 10.28 kB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.035, allocations: 188.7 kB / 1.111 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/1.036, allocations: 0.7662 MB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/1.036, allocations: 66.66 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.036, allocations: 85.23 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.038, allocations: 0.9805 MB / 1.113 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.038, allocations: 1.156 kB / 1.113 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/1.038, allocations: 40.12 kB / 1.113 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/1.038, allocations: 22.28 kB / 1.113 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/1.041, allocations: 1.158 MB / 1.114 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/1.046, allocations: 2.708 MB / 1.117 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.048, allocations: 0.9817 MB / 1.118 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/1.048, allocations: 324.6 kB / 1.118 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/1.049, allocations: 34.22 kB / 1.118 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009967/1.05, allocations: 0.5368 MB / 1.119 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 3.516e-06/1.05, allocations: 0 / 1.119 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003475/1.053, allocations: 1.289 MB / 1.12 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.053, allocations: 197.3 kB / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.054, allocations: 0.6482 MB / 1.121 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/1.054, allocations: 44.58 kB / 1.121 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/1.055, allocations: 405.2 kB / 1.121 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.055, allocations: 286.1 kB / 1.121 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.055, allocations: 188.9 kB / 1.122 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.055, allocations: 389 kB / 1.122 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/1.056, allocations: 288.5 kB / 1.122 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/1.057, allocations: 388.7 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.058, allocations: 0.6516 MB / 1.123 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.058, allocations: 0 / 1.123 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002182/1.06, allocations: 0.9126 MB / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.06, allocations: 9.078 kB / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.06, allocations: 0 / 1.124 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/1.061, allocations: 86.69 kB / 1.124 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/1.062, allocations: 181.9 kB / 1.124 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/1.064, allocations: 1.619 MB / 1.126 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/1.065, allocations: 108.2 kB / 1.126 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/1.065, allocations: 50.08 kB / 1.126 GB, free: 15.23 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: 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.0007202/1.066, allocations: 281.7 kB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.066, allocations: 89.66 kB / 1.126 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.068, allocations: 1.19 MB / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.068, allocations: 10.84 kB / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.068, allocations: 0 / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.068, allocations: 4.266 kB / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/1.072, allocations: 2.113 MB / 1.13 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.072, allocations: 0 / 1.13 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/1.073, allocations: 163.5 kB / 1.13 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/1.073, allocations: 76.7 kB / 1.13 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/1.073, allocations: 32.72 kB / 1.13 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/1.075, allocations: 1.654 MB / 1.132 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.075, allocations: 5.188 kB / 1.132 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.078, allocations: 1.084 MB / 1.133 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/1.078, allocations: 291.8 kB / 1.133 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.078, allocations: 20.12 kB / 1.133 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.079, allocations: 78 kB / 1.133 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.079, allocations: 83.7 kB / 1.133 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/1.08, allocations: 39.12 kB / 1.133 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007178/1.08, allocations: 474.4 kB / 1.134 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 1.062 kB / 1.134 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001898/1.082, allocations: 341.2 kB / 1.134 GB, free: 12.59 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: 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.001956/1.084, allocations: 0.615 MB / 1.134 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003487/1.088, allocations: 1.136 MB / 1.136 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.088, allocations: 4.188 kB / 1.136 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.089, allocations: 0.5605 MB / 1.136 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.09, allocations: 294.5 kB / 1.136 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/1.095, allocations: 1.913 MB / 1.138 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/1.096, allocations: 1.055 MB / 1.139 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/1.096, allocations: 123.1 kB / 1.139 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of SimCode: time 1.112e-06/1.096, allocations: 0 / 1.139 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.03425/1.131, allocations: 19.39 MB / 1.158 GB, free: 3.398 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches