Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002023/0.002023, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.61 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3685, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009715/0.3783, allocations: 6.889 MB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.5509, allocations: 149 MB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.5526, allocations: 15.94 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008975/0.5535, allocations: 202.4 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.5563, allocations: 0.6795 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5588, allocations: 0.87 MB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.5617, allocations: 2 MB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.5632, allocations: 0.9907 MB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.5645, allocations: 0.7353 MB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5657, allocations: 0.8478 MB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.5659, allocations: 112 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.567, allocations: 455.6 kB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.5675, allocations: 394.5 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009652/0.5684, allocations: 0.8665 MB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.5713, allocations: 2.438 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5713, allocations: 0 / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5713, allocations: 4 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.2e-05/0.5713, allocations: 0 / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004685/0.576, allocations: 2.058 MB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.5761, allocations: 8.031 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.5772, allocations: 254.6 kB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5787, allocations: 0.9731 MB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.5788, allocations: 115.1 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.579, allocations: 152 kB / 1.234 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.5818, allocations: 1.588 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.5819, allocations: 0 / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.5821, allocations: 64 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.5821, allocations: 39.94 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.5848, allocations: 1.631 MB / 1.237 GB, free: 12.77 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007373/0.5921, allocations: 4.567 MB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.5944, allocations: 1.192 MB / 1.242 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.5952, allocations: 479.8 kB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.5953, allocations: 49.02 kB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.5968, allocations: 0.79 MB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.086e-06/0.5968, allocations: 0 / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004556/0.6013, allocations: 1.838 MB / 1.245 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6015, allocations: 197.2 kB / 1.246 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6027, allocations: 0.8731 MB / 1.247 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6028, allocations: 57.64 kB / 1.247 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.6034, allocations: 0.6014 MB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.6037, allocations: 410.2 kB / 1.248 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.6041, allocations: 254.7 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6043, allocations: 353.9 kB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/0.6051, allocations: 454.4 kB / 1.249 GB, free: 372 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6041/1.209, allocations: 0.5561 MB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/1.212, allocations: 0.9848 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.212, allocations: 2.188 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003615/1.215, allocations: 1.347 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/1.215, allocations: 5.312 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.215, allocations: 1.562 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/1.216, allocations: 83.94 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.218, allocations: 271.9 kB / 1.252 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.22, allocations: 1.541 MB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.221, allocations: 161.3 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.221, allocations: 58.81 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0008369/1.222, allocations: 353.5 kB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/1.223, allocations: 120.6 kB / 1.254 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/1.227, allocations: 1.708 MB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.227, allocations: 16.84 kB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.227, allocations: 4.5 kB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.227, allocations: 10.12 kB / 1.256 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/1.229, allocations: 1.404 MB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/1.229, allocations: 0 / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/1.23, allocations: 219.3 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/1.231, allocations: 84.72 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/1.231, allocations: 40.67 kB / 1.257 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.232, allocations: 1.552 MB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.232, allocations: 3.938 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/1.235, allocations: 1.413 MB / 1.26 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/1.236, allocations: 375.5 kB / 1.261 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/1.236, allocations: 42.16 kB / 1.261 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009685/1.237, allocations: 96.05 kB / 1.261 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.237, allocations: 106.7 kB / 1.261 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.238, allocations: 58.78 kB / 1.261 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009522/1.239, allocations: 0.6424 MB / 1.261 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.239, allocations: 0 / 1.261 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001462/1.24, allocations: 493.2 kB / 1.262 GB, free: 178.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001484/1.242, allocations: 0.6281 MB / 1.263 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002978/1.245, allocations: 1.271 MB / 1.264 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.245, allocations: 1.219 kB / 1.264 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.246, allocations: 0.7407 MB / 1.265 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.248, allocations: 317.9 kB / 1.265 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/1.254, allocations: 3.273 MB / 1.268 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.256, allocations: 1.238 MB / 1.269 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001947/1.258, allocations: 335 kB / 1.27 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/1.259, allocations: 156.4 kB / 1.27 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.924e-06/1.259, allocations: 3.938 kB / 1.27 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04854/1.307, allocations: 20.7 MB / 1.29 GB, free: 167.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches