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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01177/0.01177, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002102/0.002102, allocations: 197 kB / 16.68 MB, free: 5.926 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 55.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8599, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00862/0.8685, allocations: 6.917 MB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1659/1.035, allocations: 151.3 MB / 1.362 GB, free: 14.81 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/1.036, allocations: 15.94 kB / 1.362 GB, free: 14.79 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/1.037, allocations: 265.4 kB / 1.362 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/1.04, allocations: 0.7915 MB / 1.363 GB, free: 13.74 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/1.043, allocations: 1.001 MB / 1.364 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003468/1.046, allocations: 2.148 MB / 1.366 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/1.048, allocations: 1.014 MB / 1.367 GB, free: 9.523 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/1.05, allocations: 0.8486 MB / 1.368 GB, free: 8.672 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/1.051, allocations: 0.9026 MB / 1.369 GB, free: 7.766 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/1.052, allocations: 204 kB / 1.369 GB, free: 7.566 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/1.053, allocations: 0.5699 MB / 1.37 GB, free: 6.996 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/1.053, allocations: 486.5 kB / 1.37 GB, free: 6.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009024/1.054, allocations: 0.9564 MB / 1.371 GB, free: 5.559 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/1.057, allocations: 2.568 MB / 1.374 GB, free: 2.984 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.057, allocations: 0 / 1.374 GB, free: 2.984 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/1.057, allocations: 4 kB / 1.374 GB, free: 2.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.057, allocations: 0 / 1.374 GB, free: 2.98 MB / 1.092 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.003971/1.061, allocations: 2.062 MB / 1.376 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.061, allocations: 8.031 kB / 1.376 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.062, allocations: 262.6 kB / 1.376 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.064, allocations: 0.989 MB / 1.377 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/1.064, allocations: 115.1 kB / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/1.064, allocations: 152 kB / 1.377 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/1.067, allocations: 1.576 MB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/1.067, allocations: 4 kB / 1.379 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.067, allocations: 63.94 kB / 1.379 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/1.067, allocations: 40 kB / 1.379 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/1.07, allocations: 1.639 MB / 1.38 GB, free: 11.91 MB / 1.107 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.007234/1.077, allocations: 4.519 MB / 1.385 GB, free: 7.211 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/1.08, allocations: 1.188 MB / 1.386 GB, free: 6.023 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/1.08, allocations: 475.7 kB / 1.386 GB, free: 5.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.081, allocations: 53.06 kB / 1.386 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/1.082, allocations: 0.786 MB / 1.387 GB, free: 4.699 MB / 1.107 GB Notification: Performance of pre-optimization done (n=128): time 3.026e-06/1.082, allocations: 0 / 1.387 GB, free: 4.699 MB / 1.107 GB Notification: Performance of matching and sorting (n=128): time 0.004503/1.086, allocations: 1.842 MB / 1.389 GB, free: 2.832 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.087, allocations: 197.2 kB / 1.389 GB, free: 2.598 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/1.088, allocations: 0.8771 MB / 1.39 GB, free: 1.695 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.088, allocations: 57.64 kB / 1.39 GB, free: 1.633 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/1.089, allocations: 0.5936 MB / 1.391 GB, free: 1.027 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/1.089, allocations: 414.1 kB / 1.391 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/1.089, allocations: 258.7 kB / 1.391 GB, free: 364 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.089, allocations: 349.9 kB / 1.392 GB, free: 8 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/1.09, allocations: 450.4 kB / 1.392 GB, free: 15.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.091, allocations: 0.5688 MB / 1.393 GB, free: 14.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/1.093, allocations: 0.9857 MB / 1.394 GB, free: 13.99 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.093, allocations: 0 / 1.394 GB, free: 13.99 MB / 1.123 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002779/1.096, allocations: 1.348 MB / 1.395 GB, free: 12.63 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.096, allocations: 7.984 kB / 1.395 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.096, allocations: 0 / 1.395 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/1.097, allocations: 84.95 kB / 1.395 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.098, allocations: 271.5 kB / 1.395 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/1.1, allocations: 1.642 MB / 1.397 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.102, allocations: 146.7 kB / 1.397 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.102, allocations: 60.02 kB / 1.397 GB, free: 10.29 MB / 1.123 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.0006447/1.102, allocations: 349.5 kB / 1.397 GB, free: 9.934 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/1.103, allocations: 114.6 kB / 1.398 GB, free: 9.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/1.106, allocations: 1.709 MB / 1.399 GB, free: 8.098 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.106, allocations: 16 kB / 1.399 GB, free: 8.082 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.106, allocations: 0 / 1.399 GB, free: 8.082 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.106, allocations: 7.969 kB / 1.399 GB, free: 8.074 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/1.108, allocations: 1.408 MB / 1.401 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.108, allocations: 0 / 1.401 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/1.109, allocations: 215.7 kB / 1.401 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/1.109, allocations: 76.78 kB / 1.401 GB, free: 6.324 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/1.109, allocations: 35.97 kB / 1.401 GB, free: 6.289 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/1.112, allocations: 1.67 MB / 1.403 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.112, allocations: 0 / 1.403 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/1.115, allocations: 1.418 MB / 1.404 GB, free: 3.035 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008264/1.116, allocations: 367.2 kB / 1.404 GB, free: 2.656 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.116, allocations: 43.84 kB / 1.404 GB, free: 2.613 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/1.117, allocations: 83.91 kB / 1.404 GB, free: 2.531 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.117, allocations: 117.1 kB / 1.405 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.117, allocations: 51.97 kB / 1.405 GB, free: 2.363 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008827/1.118, allocations: 0.6463 MB / 1.405 GB, free: 1.707 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 1.405 GB, free: 1.707 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001303/1.119, allocations: 498.6 kB / 1.406 GB, free: 1.219 MB / 1.123 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.001721/1.121, allocations: 0.6247 MB / 1.406 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002918/1.124, allocations: 1.283 MB / 1.408 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.124, allocations: 0 / 1.408 GB, free: 15.47 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/1.125, allocations: 0.7365 MB / 1.408 GB, free: 14.72 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.127, allocations: 351.4 kB / 1.409 GB, free: 14.4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/1.131, allocations: 2.547 MB / 1.411 GB, free: 11.82 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/1.132, allocations: 1.236 MB / 1.412 GB, free: 10.55 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001122/1.133, allocations: 338.1 kB / 1.413 GB, free: 10.22 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/1.134, allocations: 159.3 kB / 1.413 GB, free: 10.07 MB / 1.139 GB Notification: Performance of SimCode: time 7.31e-07/1.134, allocations: 0 / 1.413 GB, free: 10.07 MB / 1.139 GB Notification: Performance of Templates: time 0.03895/1.173, allocations: 22.44 MB / 1.435 GB, free: 3.828 MB / 1.154 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