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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009054/0.0009056, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 10.66 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007971/0.3421, allocations: 6.42 MB / 1.066 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.5083, allocations: 147.4 MB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.5099, allocations: 19.88 kB / 1.21 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5111, allocations: 202.3 kB / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.5145, allocations: 0.6818 MB / 1.21 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.5173, allocations: 0.8527 MB / 1.211 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.5205, allocations: 2.004 MB / 1.213 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.5224, allocations: 0.9634 MB / 1.214 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.5238, allocations: 0.5753 MB / 1.215 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.5251, allocations: 0.6566 MB / 1.215 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.5254, allocations: 40 kB / 1.215 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.5267, allocations: 387.6 kB / 1.216 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.5271, allocations: 282.6 kB / 1.216 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.5282, allocations: 0.7588 MB / 1.217 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.5308, allocations: 1.858 MB / 1.219 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5309, allocations: 0 / 1.219 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5309, allocations: 0 / 1.219 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.277e-05/0.531, allocations: 0 / 1.219 GB, free: 1.25 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00452/0.5355, allocations: 1.711 MB / 1.22 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5356, allocations: 11.97 kB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.5369, allocations: 266.5 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.5389, allocations: 0.9693 MB / 1.221 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.539, allocations: 119.1 kB / 1.222 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.5393, allocations: 151.9 kB / 1.222 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.5428, allocations: 1.592 MB / 1.223 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.5429, allocations: 4 kB / 1.223 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.5431, allocations: 60 kB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.5431, allocations: 43.98 kB / 1.223 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.5462, allocations: 1.639 MB / 1.225 GB, free: 10.53 MB / 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.008466/0.5546, allocations: 4.62 MB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.5571, allocations: 1.192 MB / 1.231 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.5581, allocations: 487.7 kB / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.5582, allocations: 53.06 kB / 1.231 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/0.5597, allocations: 0.7861 MB / 1.232 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.5597, allocations: 0 / 1.232 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128): time 0.004702/0.5644, allocations: 1.857 MB / 1.234 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.5646, allocations: 197.2 kB / 1.234 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.5663, allocations: 0.8693 MB / 1.235 GB, free: 188 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.5666, allocations: 49.7 kB / 1.235 GB, free: 132 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/0.5672, allocations: 0.6092 MB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005366/0.5678, allocations: 406.2 kB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.568, allocations: 109.7 kB / 1.236 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5682, allocations: 361.9 kB / 1.236 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5693, allocations: 446.4 kB / 1.237 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.5704, allocations: 0.5688 MB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.5724, allocations: 0.9935 MB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5724, allocations: 4 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003153/0.5756, allocations: 1.355 MB / 1.24 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5756, allocations: 4 kB / 1.24 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5757, allocations: 3.984 kB / 1.24 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.5763, allocations: 88.83 kB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5776, allocations: 267.6 kB / 1.24 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.5798, allocations: 1.55 MB / 1.241 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5814, allocations: 176.7 kB / 1.242 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.5816, allocations: 59.95 kB / 1.242 GB, free: 8.961 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.0009589/0.5826, allocations: 353.5 kB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.583, allocations: 118.5 kB / 1.242 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.5871, allocations: 1.717 MB / 1.244 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.5872, allocations: 16 kB / 1.244 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5872, allocations: 0 / 1.244 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.5872, allocations: 7.969 kB / 1.244 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.5895, allocations: 1.397 MB / 1.245 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5895, allocations: 8 kB / 1.245 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/0.5905, allocations: 223.6 kB / 1.245 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/0.5911, allocations: 88.7 kB / 1.245 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.5912, allocations: 43.95 kB / 1.245 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.5932, allocations: 1.555 MB / 1.247 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5932, allocations: 64 / 1.247 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.5964, allocations: 1.418 MB / 1.248 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/0.5973, allocations: 402.9 kB / 1.249 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.5976, allocations: 31.98 kB / 1.249 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5988, allocations: 115.8 kB / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.5991, allocations: 117.1 kB / 1.249 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.5992, allocations: 55.97 kB / 1.249 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001181/0.6004, allocations: 0.6425 MB / 1.25 GB, free: 424 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6004, allocations: 0 / 1.25 GB, free: 424 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.652/1.252, allocations: 490.8 kB / 1.25 GB, free: 188.6 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.001907/1.254, allocations: 0.6154 MB / 1.251 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002957/1.257, allocations: 1.282 MB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.257, allocations: 0.9375 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.259, allocations: 0.7435 MB / 1.253 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.26, allocations: 318.4 kB / 1.253 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/1.265, allocations: 3.347 MB / 1.256 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/1.266, allocations: 1.237 MB / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/1.266, allocations: 181.5 kB / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.266, allocations: 0 / 1.258 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04985/1.316, allocations: 27.65 MB / 1.285 GB, free: 176.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches