Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001219/0.001219, allocations: 110 kB / 16.41 MB, free: 6.477 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.001096/0.001096, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9278/0.9294, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00759/0.9371, allocations: 5.451 MB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2199/1.157, allocations: 151.1 MB / 1.241 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.159, allocations: 23 kB / 1.241 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/1.16, allocations: 207.8 kB / 1.242 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/1.162, allocations: 0.6912 MB / 1.242 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/1.165, allocations: 0.984 MB / 1.243 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002472/1.168, allocations: 1.907 MB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/1.169, allocations: 1.069 MB / 1.246 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/1.17, allocations: 0.8057 MB / 1.247 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009337/1.171, allocations: 0.8751 MB / 1.248 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/1.172, allocations: 204 kB / 1.248 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/1.173, allocations: 0.5621 MB / 1.249 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/1.173, allocations: 498.4 kB / 1.249 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000771/1.174, allocations: 0.9017 MB / 1.25 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002733/1.177, allocations: 2.48 MB / 1.252 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.177, allocations: 0 / 1.252 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.226e-06/1.177, allocations: 4 kB / 1.252 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.13e-05/1.177, allocations: 3.938 kB / 1.252 GB, free: 6.098 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.003918/1.181, allocations: 2.023 MB / 1.254 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.181, allocations: 12.03 kB / 1.254 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.182, allocations: 254.6 kB / 1.255 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.183, allocations: 0.9888 MB / 1.256 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.509e-05/1.184, allocations: 119 kB / 1.256 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/1.184, allocations: 144 kB / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/1.186, allocations: 1.584 MB / 1.257 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.186, allocations: 4 kB / 1.257 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.187, allocations: 67.98 kB / 1.257 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/1.187, allocations: 36 kB / 1.258 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/1.189, allocations: 1.635 MB / 1.259 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006719/1.196, allocations: 4.091 MB / 1.263 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/1.198, allocations: 1.192 MB / 1.264 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/1.199, allocations: 475.7 kB / 1.265 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.199, allocations: 45.08 kB / 1.265 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/1.2, allocations: 0.7783 MB / 1.266 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.237e-06/1.2, allocations: 4 kB / 1.266 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004261/1.205, allocations: 1.83 MB / 1.267 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.205, allocations: 197.2 kB / 1.267 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/1.206, allocations: 0.8692 MB / 1.268 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.876e-05/1.206, allocations: 53.7 kB / 1.268 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/1.207, allocations: 0.6092 MB / 1.269 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/1.207, allocations: 414.1 kB / 1.269 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/1.207, allocations: 254.7 kB / 1.27 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.208, allocations: 349.9 kB / 1.27 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008369/1.208, allocations: 454.4 kB / 1.27 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/1.209, allocations: 0.5609 MB / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/1.211, allocations: 0.978 MB / 1.272 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.211, allocations: 0 / 1.272 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002846/1.214, allocations: 1.34 MB / 1.273 GB, free: 356 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.214, allocations: 8 kB / 1.273 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.214, allocations: 0 / 1.273 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/1.215, allocations: 80.84 kB / 1.273 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.216, allocations: 267.6 kB / 1.274 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.218, allocations: 1.647 MB / 1.275 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.219, allocations: 156.7 kB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.219, allocations: 59.94 kB / 1.275 GB, free: 13.99 MB / 1.014 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.0007534/1.22, allocations: 345.6 kB / 1.276 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/1.22, allocations: 130.4 kB / 1.276 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.224, allocations: 1.69 MB / 1.277 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/1.224, allocations: 16 kB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.224, allocations: 0 / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.224, allocations: 12.08 kB / 1.277 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.226, allocations: 1.408 MB / 1.279 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.226, allocations: 3.938 kB / 1.279 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/1.227, allocations: 215.7 kB / 1.279 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/1.227, allocations: 76.78 kB / 1.279 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/1.227, allocations: 39.91 kB / 1.279 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.229, allocations: 1.67 MB / 1.281 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.229, allocations: 4.125 kB / 1.281 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/1.232, allocations: 1.41 MB / 1.282 GB, free: 6.746 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/1.233, allocations: 375 kB / 1.283 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.233, allocations: 35.91 kB / 1.283 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/1.234, allocations: 83.91 kB / 1.283 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/1.234, allocations: 113.1 kB / 1.283 GB, free: 6.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/1.234, allocations: 55.97 kB / 1.283 GB, free: 6.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008836/1.235, allocations: 0.6425 MB / 1.283 GB, free: 5.422 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 0 / 1.283 GB, free: 5.422 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001182/1.237, allocations: 470.6 kB / 1.284 GB, free: 4.961 MB / 1.014 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.001475/1.238, allocations: 0.6246 MB / 1.285 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.241, allocations: 1.263 MB / 1.286 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.241, allocations: 7.938 kB / 1.286 GB, free: 3.227 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.242, allocations: 0.7364 MB / 1.286 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.243, allocations: 337.6 kB / 1.287 GB, free: 2.168 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/1.249, allocations: 2.697 MB / 1.289 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/1.25, allocations: 1.236 MB / 1.291 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/1.251, allocations: 171.3 kB / 1.291 GB, free: 14 MB / 1.029 GB Notification: Performance of SimCode: time 1.323e-06/1.251, allocations: 0 / 1.291 GB, free: 14 MB / 1.029 GB Notification: Performance of Templates: time 0.03904/1.29, allocations: 27.55 MB / 1.318 GB, free: 2.52 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches