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.001093/0.001093, allocations: 111.2 kB / 16.37 MB, free: 6.012 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.001031/0.001031, allocations: 191.5 kB / 17.3 MB, free: 5.613 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.69 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2679, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007635/0.2756, allocations: 6.924 MB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.616/0.8916, allocations: 151.3 MB / 1.181 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009712/0.8926, allocations: 18.25 kB / 1.181 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.8933, allocations: 265.7 kB / 1.181 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.8954, allocations: 0.7873 MB / 1.182 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.8975, allocations: 0.9911 MB / 1.183 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.8997, allocations: 2.153 MB / 1.185 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.9011, allocations: 1.021 MB / 1.186 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.9023, allocations: 0.8312 MB / 1.187 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009697/0.9032, allocations: 0.9074 MB / 1.188 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.9035, allocations: 207.3 kB / 1.188 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.9046, allocations: 0.5657 MB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.905, allocations: 488.2 kB / 1.189 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007773/0.9058, allocations: 0.9538 MB / 1.19 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.9081, allocations: 2.57 MB / 1.193 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9082, allocations: 1.375 kB / 1.193 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9082, allocations: 4 kB / 1.193 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.557e-05/0.9082, allocations: 0 / 1.193 GB, free: 12.94 MB / 0.9044 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.004105/0.9123, allocations: 2.056 MB / 1.195 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9124, allocations: 13.94 kB / 1.195 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.9134, allocations: 253.9 kB / 1.195 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.915, allocations: 0.9879 MB / 1.196 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.742e-05/0.9151, allocations: 122.9 kB / 1.196 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.9153, allocations: 147.9 kB / 1.196 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.9177, allocations: 1.576 MB / 1.198 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.9178, allocations: 4 kB / 1.198 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9179, allocations: 70.3 kB / 1.198 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.9179, allocations: 38.53 kB / 1.198 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9204, allocations: 1.632 MB / 1.199 GB, free: 8.52 MB / 0.9044 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.00651/0.9269, allocations: 4.521 MB / 1.204 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.929, allocations: 1.203 MB / 1.205 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.9297, allocations: 478 kB / 1.205 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.9299, allocations: 49.67 kB / 1.205 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.9311, allocations: 0.7762 MB / 1.206 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=128): time 2.545e-06/0.9311, allocations: 0 / 1.206 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=128): time 0.004304/0.9354, allocations: 1.848 MB / 1.208 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.9355, allocations: 197.5 kB / 1.208 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.9366, allocations: 0.8705 MB / 1.209 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.256e-05/0.9367, allocations: 49.58 kB / 1.209 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.9372, allocations: 0.5994 MB / 1.21 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.9375, allocations: 414.4 kB / 1.21 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/0.9379, allocations: 255.5 kB / 1.21 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.938, allocations: 352.2 kB / 1.211 GB, free: 424 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/0.9389, allocations: 461.4 kB / 1.211 GB, free: 24 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.9399, allocations: 0.561 MB / 1.212 GB, free: 15.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.9416, allocations: 0.9932 MB / 1.213 GB, free: 14.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.9417, allocations: 0 / 1.213 GB, free: 14.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002772/0.9444, allocations: 1.34 MB / 1.214 GB, free: 13.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.9445, allocations: 4 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9445, allocations: 4 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.9451, allocations: 84.78 kB / 1.214 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.9463, allocations: 267.6 kB / 1.214 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.9483, allocations: 1.65 MB / 1.216 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.9495, allocations: 142.9 kB / 1.216 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9496, allocations: 63.94 kB / 1.216 GB, free: 10.75 MB / 0.92 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.0005944/0.9502, allocations: 345.6 kB / 1.216 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.9504, allocations: 122.5 kB / 1.217 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.954, allocations: 1.704 MB / 1.218 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.9541, allocations: 19.98 kB / 1.218 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9541, allocations: 112 / 1.218 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9541, allocations: 7.922 kB / 1.218 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.9557, allocations: 1.408 MB / 1.22 GB, free: 7.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.9557, allocations: 0 / 1.22 GB, free: 7.078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.9567, allocations: 215.4 kB / 1.22 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.9572, allocations: 80.77 kB / 1.22 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.9573, allocations: 39.97 kB / 1.22 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.9591, allocations: 1.666 MB / 1.222 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.9591, allocations: 3.938 kB / 1.222 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.9618, allocations: 1.402 MB / 1.223 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.9625, allocations: 379 kB / 1.223 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.9626, allocations: 39.83 kB / 1.223 GB, free: 3.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.9636, allocations: 83.92 kB / 1.223 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.9638, allocations: 117.1 kB / 1.224 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.9639, allocations: 55.97 kB / 1.224 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007957/0.9647, allocations: 0.6425 MB / 1.224 GB, free: 2.176 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9647, allocations: 0 / 1.224 GB, free: 2.176 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001153/0.9659, allocations: 490.6 kB / 1.225 GB, free: 1.695 MB / 0.92 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.00137/0.9672, allocations: 0.6191 MB / 1.225 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.9696, allocations: 1.279 MB / 1.227 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9696, allocations: 3.938 kB / 1.227 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.9709, allocations: 0.74 MB / 1.227 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.9721, allocations: 356.1 kB / 1.228 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.9761, allocations: 2.547 MB / 1.23 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.9768, allocations: 1.24 MB / 1.231 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001004/0.9778, allocations: 330.2 kB / 1.232 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.9783, allocations: 155.3 kB / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.9783, allocations: 4 kB / 1.232 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.03472/1.013, allocations: 21.71 MB / 1.253 GB, free: 5.023 MB / 0.9512 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 -s gbode -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