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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009048/0.009048, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001809/0.001809, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.524/2.524, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6651, allocations: 140.4 MB / 0.9496 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005411/0.6706, allocations: 4.513 MB / 0.954 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.8341, allocations: 148.4 MB / 1.099 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.8353, allocations: 19.88 kB / 1.099 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.8359, allocations: 138.9 kB / 1.099 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.8377, allocations: 447.8 kB / 1.099 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.8398, allocations: 0.767 MB / 1.1 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.8414, allocations: 1.285 MB / 1.101 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.8423, allocations: 0.6289 MB / 1.102 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.843, allocations: 438.2 kB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005303/0.8435, allocations: 0.4899 MB / 1.103 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.8436, allocations: 60 kB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.8446, allocations: 423.6 kB / 1.103 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.8449, allocations: 251 kB / 1.104 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.8454, allocations: 0.5165 MB / 1.104 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.8466, allocations: 1.247 MB / 1.105 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8467, allocations: 0 / 1.105 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8467, allocations: 0 / 1.105 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8467, allocations: 0 / 1.105 GB, free: 2.141 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.002771/0.8495, allocations: 1.487 MB / 1.107 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8495, allocations: 12.03 kB / 1.107 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.8505, allocations: 187.3 kB / 1.107 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.8516, allocations: 0.7701 MB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.8516, allocations: 66 kB / 1.108 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.8518, allocations: 92 kB / 1.108 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.8534, allocations: 0.9691 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8534, allocations: 4 kB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.8535, allocations: 43.97 kB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.8536, allocations: 20 kB / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.8554, allocations: 1.159 MB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.8595, allocations: 2.707 MB / 1.113 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.8616, allocations: 0.9732 MB / 1.114 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.8622, allocations: 326.7 kB / 1.114 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.8623, allocations: 32.67 kB / 1.114 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009965/0.8633, allocations: 0.5418 MB / 1.115 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.524e-06/0.8633, allocations: 0 / 1.115 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.00326/0.8666, allocations: 1.29 MB / 1.116 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.8667, allocations: 188.9 kB / 1.116 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.8676, allocations: 0.649 MB / 1.117 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.8676, allocations: 45.7 kB / 1.117 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.868, allocations: 404.4 kB / 1.117 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.8682, allocations: 287.9 kB / 1.117 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.8685, allocations: 178.4 kB / 1.118 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8686, allocations: 394.7 kB / 1.118 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.8692, allocations: 293.8 kB / 1.118 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.8699, allocations: 387.1 kB / 1.119 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.871, allocations: 0.6554 MB / 1.119 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.871, allocations: 0 / 1.119 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002045/0.8731, allocations: 0.9151 MB / 1.12 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8731, allocations: 4 kB / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8731, allocations: 7.938 kB / 1.12 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.8738, allocations: 80.78 kB / 1.12 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.8745, allocations: 175.8 kB / 1.12 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.8767, allocations: 1.52 MB / 1.122 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.8776, allocations: 105 kB / 1.122 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.8777, allocations: 48.03 kB / 1.122 GB, free: 0.6523 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.0004697/0.8782, allocations: 275.9 kB / 1.122 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.8784, allocations: 82.97 kB / 1.122 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.881, allocations: 1.195 MB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.881, allocations: 19.94 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.881, allocations: 0 / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8811, allocations: 3.984 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.8847, allocations: 2.099 MB / 1.126 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8847, allocations: 0 / 1.126 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.8854, allocations: 167.7 kB / 1.126 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.8859, allocations: 84.77 kB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.886, allocations: 31.98 kB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.8879, allocations: 1.54 MB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8879, allocations: 0 / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.8903, allocations: 1.094 MB / 1.128 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.8909, allocations: 291.5 kB / 1.129 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.8911, allocations: 24.06 kB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.8919, allocations: 71.92 kB / 1.129 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.8921, allocations: 84.88 kB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.8922, allocations: 35.97 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007137/0.8929, allocations: 471 kB / 1.129 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8929, allocations: 0 / 1.129 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001168/0.8941, allocations: 347.1 kB / 1.13 GB, free: 8.512 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: 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.001594/0.8957, allocations: 0.6357 MB / 1.13 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.8977, allocations: 0.8898 MB / 1.131 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8977, allocations: 4 kB / 1.131 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.8988, allocations: 0.5589 MB / 1.132 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.9003, allocations: 277.7 kB / 1.132 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.905, allocations: 2.347 MB / 1.134 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.9058, allocations: 1.048 MB / 1.135 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.9063, allocations: 123.4 kB / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of SimCode: time 8.51e-07/0.9063, allocations: 0 / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of Templates: time 0.02843/0.9347, allocations: 19.37 MB / 1.154 GB, free: 15.42 MB / 0.92 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