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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 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.001597/0.001597, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.361/2.361, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 59.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.6689, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006011/0.675, allocations: 5.45 MB / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.8411, allocations: 151.1 MB / 1.102 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.8424, allocations: 15.94 kB / 1.102 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.8435, allocations: 213.9 kB / 1.103 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.8463, allocations: 0.6745 MB / 1.103 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.8497, allocations: 0.9756 MB / 1.104 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.8531, allocations: 1.881 MB / 1.106 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.8551, allocations: 1.076 MB / 1.107 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.8568, allocations: 0.794 MB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.8582, allocations: 0.8712 MB / 1.109 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.8588, allocations: 208 kB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.8602, allocations: 0.5309 MB / 1.11 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004672/0.8607, allocations: 490.4 kB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009899/0.8617, allocations: 0.9056 MB / 1.111 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.8648, allocations: 2.438 MB / 1.113 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8648, allocations: 0 / 1.113 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8648, allocations: 4 kB / 1.113 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.404e-05/0.8649, allocations: 0 / 1.113 GB, free: 9.613 MB / 0.8731 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.004333/0.8692, allocations: 2.027 MB / 1.115 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.8693, allocations: 8.031 kB / 1.115 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.8705, allocations: 254.6 kB / 1.115 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.8719, allocations: 0.9732 MB / 1.116 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.872, allocations: 119.1 kB / 1.117 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.8722, allocations: 148 kB / 1.117 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.8749, allocations: 1.58 MB / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.8749, allocations: 4 kB / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.875, allocations: 60 kB / 1.118 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.8751, allocations: 36 kB / 1.118 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.8776, allocations: 1.635 MB / 1.12 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006733/0.8844, allocations: 4.138 MB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.8864, allocations: 1.193 MB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.8872, allocations: 475.7 kB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-05/0.8873, allocations: 52.98 kB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.8887, allocations: 0.7706 MB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.545e-06/0.8887, allocations: 0 / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.004318/0.893, allocations: 1.834 MB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.8931, allocations: 201.2 kB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.8943, allocations: 0.8653 MB / 1.129 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.8944, allocations: 53.7 kB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.8949, allocations: 0.6093 MB / 1.13 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.8953, allocations: 410.2 kB / 1.13 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.8957, allocations: 254.7 kB / 1.131 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8958, allocations: 353.9 kB / 1.131 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.8966, allocations: 446.4 kB / 1.131 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/0.8976, allocations: 0.5648 MB / 1.132 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.8993, allocations: 0.9818 MB / 1.133 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8993, allocations: 0 / 1.133 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00284/0.9021, allocations: 1.336 MB / 1.134 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.9022, allocations: 11.94 kB / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9022, allocations: 0 / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.9028, allocations: 84.83 kB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.9039, allocations: 263.6 kB / 1.134 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.9061, allocations: 1.664 MB / 1.136 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.9073, allocations: 150.8 kB / 1.136 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.9075, allocations: 55.95 kB / 1.136 GB, free: 1.477 MB / 0.8887 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.0007029/0.9082, allocations: 353.5 kB / 1.137 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.9084, allocations: 114.6 kB / 1.137 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.912, allocations: 1.709 MB / 1.138 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.912, allocations: 19.98 kB / 1.138 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.912, allocations: 3.938 kB / 1.138 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.9121, allocations: 11.97 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.9138, allocations: 1.398 MB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9138, allocations: 4 kB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.9147, allocations: 211.7 kB / 1.14 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/0.9151, allocations: 76.78 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.9153, allocations: 43.95 kB / 1.14 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.9171, allocations: 1.67 MB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9172, allocations: 0 / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.92, allocations: 1.414 MB / 1.143 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.9206, allocations: 363.2 kB / 1.143 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.9208, allocations: 39.89 kB / 1.143 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008843/0.9217, allocations: 87.91 kB / 1.144 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.9219, allocations: 109.2 kB / 1.144 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.922, allocations: 59.95 kB / 1.144 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008694/0.9229, allocations: 0.6425 MB / 1.144 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.573e-06/0.9229, allocations: 0 / 1.144 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001155/0.9241, allocations: 470.5 kB / 1.145 GB, free: 8.445 MB / 0.9044 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.001381/0.9255, allocations: 0.6152 MB / 1.145 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.9295, allocations: 1.587 MB / 1.147 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.9295, allocations: 4 kB / 1.147 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.931, allocations: 0.7401 MB / 1.148 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.9325, allocations: 337.8 kB / 1.148 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.9378, allocations: 2.684 MB / 1.151 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.9385, allocations: 1.228 MB / 1.152 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001222/0.9398, allocations: 337.8 kB / 1.152 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.9402, allocations: 159.3 kB / 1.152 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of SimCode: time 1.603e-06/0.9402, allocations: 0 / 1.152 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of Templates: time 0.03488/0.9751, allocations: 20.75 MB / 1.173 GB, free: 12.29 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches