Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_11_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_11_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.00157/0.00157, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.001956/0.001956, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.486/1.486, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.04/3.04, allocations: 469.8 MB / 0.7427 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.48 kB / 0.9087 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3531, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009945/0.3631, allocations: 6.893 MB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.556, allocations: 149 MB / 1.216 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.5578, allocations: 19.94 kB / 1.216 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.559, allocations: 198.4 kB / 1.217 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.5624, allocations: 0.7051 MB / 1.217 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.5652, allocations: 0.8893 MB / 1.218 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.5689, allocations: 2.137 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.5707, allocations: 1.018 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.5724, allocations: 0.8369 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.5737, allocations: 0.9102 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003495/0.5741, allocations: 208 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.5754, allocations: 0.5426 MB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.576, allocations: 478.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.5771, allocations: 0.9641 MB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.5799, allocations: 1.922 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5799, allocations: 0 / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.328e-06/0.5799, allocations: 8 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.385e-05/0.5799, allocations: 0 / 1.227 GB, free: 7.152 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.004853/0.5848, allocations: 2.063 MB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5848, allocations: 8.031 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.586, allocations: 254.6 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.5877, allocations: 0.9693 MB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.5879, allocations: 119.1 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.5881, allocations: 152 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.5912, allocations: 1.58 MB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.5912, allocations: 0 / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.5914, allocations: 64 kB / 1.232 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.5915, allocations: 36 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.5943, allocations: 1.643 MB / 1.234 GB, free: 112 kB / 0.9825 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.008268/0.6026, allocations: 4.574 MB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.605, allocations: 1.18 MB / 1.239 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008615/0.6058, allocations: 475.7 kB / 1.24 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.606, allocations: 57 kB / 1.24 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.6075, allocations: 0.7899 MB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 2.675e-06/0.6075, allocations: 0 / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004749/0.6123, allocations: 1.838 MB / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.6125, allocations: 197.2 kB / 1.243 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.6139, allocations: 0.8732 MB / 1.243 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.614, allocations: 53.7 kB / 1.243 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/0.6146, allocations: 0.6014 MB / 1.244 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/0.6151, allocations: 410.2 kB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/0.6155, allocations: 254.7 kB / 1.245 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6157, allocations: 353.9 kB / 1.245 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000892/0.6166, allocations: 450.4 kB / 1.245 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.6177, allocations: 0.5688 MB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.6196, allocations: 0.9857 MB / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6196, allocations: 0 / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003117/0.6227, allocations: 1.355 MB / 1.248 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.6228, allocations: 5.25 kB / 1.248 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6228, allocations: 0 / 1.248 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.6235, allocations: 88.83 kB / 1.248 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.6247, allocations: 263.7 kB / 1.249 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5965/1.221, allocations: 1.652 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/1.223, allocations: 156.2 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/1.223, allocations: 56.95 kB / 1.25 GB, free: 183.6 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.0007504/1.224, allocations: 356.5 kB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/1.224, allocations: 122.3 kB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1.228, allocations: 1.706 MB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.228, allocations: 14.22 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.228, allocations: 3.938 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/1.228, allocations: 8.344 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.23, allocations: 1.406 MB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.23, allocations: 0 / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/1.231, allocations: 217.3 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/1.232, allocations: 78.52 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.78e-05/1.232, allocations: 43.73 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/1.233, allocations: 1.677 MB / 1.256 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.233, allocations: 0 / 1.256 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/1.236, allocations: 1.407 MB / 1.257 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/1.237, allocations: 373.4 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.237, allocations: 41.72 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/1.238, allocations: 93.17 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/1.238, allocations: 116.4 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/1.238, allocations: 54.75 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007676/1.239, allocations: 0.646 MB / 1.259 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.239, allocations: 0 / 1.259 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001226/1.24, allocations: 496.4 kB / 1.259 GB, free: 181.3 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.001883/1.242, allocations: 0.6313 MB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003991/1.246, allocations: 1.584 MB / 1.261 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.246, allocations: 2.969 kB / 1.261 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.248, allocations: 0.7406 MB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.249, allocations: 347.7 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/1.254, allocations: 3.321 MB / 1.266 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.255, allocations: 1.234 MB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/1.255, allocations: 179.3 kB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.255, allocations: 0 / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04813/1.304, allocations: 27.84 MB / 1.294 GB, free: 167.9 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches