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.006434/0.006434, allocations: 96.16 kB / 15.73 MB, free: 6.055 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.001399/0.001399, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.94 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.303, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006209/0.3093, allocations: 4.289 MB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.484, allocations: 150.5 MB / 1.239 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/0.485, allocations: 19.88 kB / 1.239 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.4856, allocations: 174.4 kB / 1.239 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.4876, allocations: 0.5027 MB / 1.24 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.4896, allocations: 0.8159 MB / 1.241 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.4909, allocations: 1.289 MB / 1.242 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.4918, allocations: 0.614 MB / 1.242 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006178/0.4924, allocations: 466.3 kB / 1.243 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.493, allocations: 489.8 kB / 1.243 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.4932, allocations: 112 kB / 1.243 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009412/0.4941, allocations: 483.6 kB / 1.244 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.4944, allocations: 291 kB / 1.244 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.4949, allocations: 0.5363 MB / 1.245 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.4969, allocations: 1.588 MB / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.497, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/0.497, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.497, allocations: 0 / 1.246 GB, free: 14.74 MB / 1.014 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.002621/0.4996, allocations: 1.44 MB / 1.248 GB, free: 13.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4997, allocations: 8.031 kB / 1.248 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.5006, allocations: 196.1 kB / 1.248 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.5019, allocations: 0.7545 MB / 1.249 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.502, allocations: 65.98 kB / 1.249 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5021, allocations: 76 kB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5037, allocations: 0.9028 MB / 1.25 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5037, allocations: 0 / 1.25 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.5038, allocations: 36 kB / 1.25 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5038, allocations: 20 kB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.5056, allocations: 1.1 MB / 1.251 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003987/0.5096, allocations: 2.438 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.5112, allocations: 0.8652 MB / 1.254 GB, free: 6.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5118, allocations: 302.6 kB / 1.254 GB, free: 6.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.5118, allocations: 32.61 kB / 1.254 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/0.5127, allocations: 495.2 kB / 1.255 GB, free: 5.793 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.474e-06/0.5128, allocations: 0 / 1.255 GB, free: 5.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003185/0.5159, allocations: 1.179 MB / 1.256 GB, free: 4.586 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.5161, allocations: 196.5 kB / 1.256 GB, free: 4.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/0.517, allocations: 0.6214 MB / 1.257 GB, free: 3.723 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.5171, allocations: 41.7 kB / 1.257 GB, free: 3.676 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.5174, allocations: 401 kB / 1.257 GB, free: 3.277 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.5177, allocations: 265.8 kB / 1.257 GB, free: 3.016 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.5179, allocations: 162.5 kB / 1.258 GB, free: 2.852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.5181, allocations: 394.6 kB / 1.258 GB, free: 2.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.5187, allocations: 261.9 kB / 1.258 GB, free: 2.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.5193, allocations: 359.1 kB / 1.259 GB, free: 1.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.5204, allocations: 0.5877 MB / 1.259 GB, free: 1.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5204, allocations: 0 / 1.259 GB, free: 1.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001996/0.5224, allocations: 0.8415 MB / 1.26 GB, free: 392 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5225, allocations: 4 kB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5225, allocations: 4 kB / 1.26 GB, free: 384 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.5231, allocations: 84.86 kB / 1.26 GB, free: 296 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.5238, allocations: 155.8 kB / 1.26 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6073/1.131, allocations: 1.622 MB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/1.132, allocations: 93.19 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/1.132, allocations: 42.33 kB / 1.262 GB, free: 172.1 MB / 1.014 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.0004759/1.133, allocations: 273.4 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.133, allocations: 84.55 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.135, allocations: 1.047 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.135, allocations: 9.531 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.135, allocations: 0 / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.135, allocations: 4.75 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/1.139, allocations: 1.901 MB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.139, allocations: 0.7188 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/1.139, allocations: 147.7 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/1.14, allocations: 68.3 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.14, allocations: 28.84 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/1.142, allocations: 1.657 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.142, allocations: 4.766 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.144, allocations: 0.9902 MB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/1.145, allocations: 278.7 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.145, allocations: 17.75 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/1.146, allocations: 64.52 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.146, allocations: 68.75 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/1.146, allocations: 35.53 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007377/1.147, allocations: 452.1 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.62e-07/1.147, allocations: 0 / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001113/1.148, allocations: 316.4 kB / 1.269 GB, free: 168.9 MB / 1.014 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.001373/1.149, allocations: 0.61 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002/1.151, allocations: 0.8224 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.151, allocations: 0.875 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.152, allocations: 0.506 MB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.154, allocations: 290.1 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/1.159, allocations: 1.745 MB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/1.159, allocations: 1.013 MB / 1.274 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001036/1.16, allocations: 256.5 kB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/1.161, allocations: 104.2 kB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.603e-06/1.161, allocations: 0 / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03038/1.191, allocations: 14.7 MB / 1.289 GB, free: 163.5 MB / 1.014 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