Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 105.7 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.001636/0.001636, 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.494/1.494, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 68.11 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8457, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007231/0.853, allocations: 4.979 MB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1957/1.049, allocations: 150.8 MB / 1.235 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/1.05, allocations: 15.94 kB / 1.235 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006365/1.05, allocations: 198.1 kB / 1.235 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/1.053, allocations: 0.5704 MB / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/1.055, allocations: 0.8432 MB / 1.237 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001828/1.057, allocations: 1.44 MB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/1.058, allocations: 0.5948 MB / 1.239 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/1.059, allocations: 0.506 MB / 1.239 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/1.059, allocations: 0.5329 MB / 1.24 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/1.059, allocations: 120 kB / 1.24 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/1.061, allocations: 467.6 kB / 1.24 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/1.061, allocations: 311 kB / 1.24 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005682/1.061, allocations: 0.5791 MB / 1.241 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/1.063, allocations: 1.651 MB / 1.243 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.063, allocations: 4 kB / 1.243 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/1.063, allocations: 0 / 1.243 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.063, allocations: 0 / 1.243 GB, free: 10.83 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002751/1.066, allocations: 1.472 MB / 1.244 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.066, allocations: 8.031 kB / 1.244 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/1.067, allocations: 199.3 kB / 1.244 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.068, allocations: 0.7585 MB / 1.245 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/1.068, allocations: 66 kB / 1.245 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.069, allocations: 84 kB / 1.245 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.07, allocations: 0.9691 MB / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/1.07, allocations: 0 / 1.246 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.07, allocations: 36 kB / 1.246 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.07, allocations: 31.98 kB / 1.246 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/1.072, allocations: 1.155 MB / 1.247 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004383/1.077, allocations: 2.926 MB / 1.25 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.079, allocations: 0.8482 MB / 1.251 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/1.079, allocations: 326.6 kB / 1.251 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/1.079, allocations: 40.61 kB / 1.251 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/1.08, allocations: 0.5275 MB / 1.252 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=88): time 5.42e-06/1.08, allocations: 4 kB / 1.252 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88): time 0.003502/1.084, allocations: 1.294 MB / 1.253 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.084, allocations: 196.9 kB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/1.085, allocations: 0.6566 MB / 1.254 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/1.085, allocations: 41.7 kB / 1.254 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.085, allocations: 404.4 kB / 1.254 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.085, allocations: 284 kB / 1.255 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/1.086, allocations: 182.5 kB / 1.255 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.086, allocations: 390.8 kB / 1.255 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/1.087, allocations: 285.8 kB / 1.255 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/1.087, allocations: 399 kB / 1.256 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/1.089, allocations: 0.6555 MB / 1.257 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.089, allocations: 0 / 1.257 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002165/1.091, allocations: 0.9229 MB / 1.257 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.091, allocations: 12.03 kB / 1.257 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.091, allocations: 64 / 1.257 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/1.091, allocations: 84.77 kB / 1.257 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/1.092, allocations: 183.7 kB / 1.258 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/1.095, allocations: 1.629 MB / 1.259 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/1.095, allocations: 105.4 kB / 1.259 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/1.095, allocations: 39.91 kB / 1.259 GB, free: 9.098 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (105): * Single equations (assignments): 104 * 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.0004903/1.096, allocations: 277.6 kB / 1.26 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/1.096, allocations: 86.97 kB / 1.26 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/1.099, allocations: 1.171 MB / 1.261 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.099, allocations: 8 kB / 1.261 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/1.099, allocations: 0 / 1.261 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/1.099, allocations: 7.969 kB / 1.261 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.1, allocations: 0.9347 MB / 1.262 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.1, allocations: 0 / 1.262 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/1.101, allocations: 159.8 kB / 1.262 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/1.101, allocations: 72.78 kB / 1.262 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/1.101, allocations: 31.92 kB / 1.262 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.103, allocations: 1.662 MB / 1.264 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.103, allocations: 7.969 kB / 1.264 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.106, allocations: 0.998 MB / 1.265 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/1.106, allocations: 275.7 kB / 1.265 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.106, allocations: 24 kB / 1.265 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/1.107, allocations: 71.86 kB / 1.265 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.107, allocations: 76.89 kB / 1.265 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/1.107, allocations: 35.97 kB / 1.265 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006821/1.108, allocations: 479 kB / 1.266 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.108, allocations: 4 kB / 1.266 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009844/1.109, allocations: 335.2 kB / 1.266 GB, free: 2.156 MB / 0.9825 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.002009/1.111, allocations: 0.6004 MB / 1.267 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002737/1.114, allocations: 1.116 MB / 1.268 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.114, allocations: 4.188 kB / 1.268 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.115, allocations: 0.551 MB / 1.268 GB, free: 36 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.116, allocations: 293.6 kB / 1.268 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/1.119, allocations: 1.789 MB / 1.27 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/1.12, allocations: 1.037 MB / 1.271 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/1.12, allocations: 127.4 kB / 1.271 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.12, allocations: 0 / 1.271 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.02879/1.149, allocations: 19.33 MB / 1.29 GB, free: 9.477 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches