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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001519/0.001519, allocations: 114.1 kB / 16.37 MB, free: 6.422 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.001774/0.001774, allocations: 196.5 kB / 17.31 MB, free: 5.805 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 64.66 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007085/0.2923, allocations: 5.46 MB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7498/1.042, allocations: 151.1 MB / 1.104 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/1.043, allocations: 19.19 kB / 1.104 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009268/1.044, allocations: 210.8 kB / 1.104 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/1.047, allocations: 0.6767 MB / 1.105 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/1.05, allocations: 0.9818 MB / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002922/1.053, allocations: 1.894 MB / 1.108 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/1.055, allocations: 1.081 MB / 1.109 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/1.057, allocations: 0.79 MB / 1.11 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/1.058, allocations: 0.8717 MB / 1.11 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008677/1.059, allocations: 207.5 kB / 1.111 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/1.061, allocations: 0.5641 MB / 1.111 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/1.063, allocations: 486.9 kB / 1.112 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/1.065, allocations: 0.9075 MB / 1.112 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005442/1.071, allocations: 2.483 MB / 1.115 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.071, allocations: 0 / 1.115 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.466e-06/1.071, allocations: 0 / 1.115 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001222/1.071, allocations: 3.938 kB / 1.115 GB, free: 3.625 MB / 0.8575 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.007444/1.078, allocations: 2.025 MB / 1.117 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.078, allocations: 9.625 kB / 1.117 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.08, allocations: 255.9 kB / 1.117 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.082, allocations: 0.9901 MB / 1.118 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.082, allocations: 123.6 kB / 1.118 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/1.082, allocations: 147.6 kB / 1.118 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/1.085, allocations: 1.58 MB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.085, allocations: 0 / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/1.086, allocations: 64.91 kB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/1.086, allocations: 40.66 kB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/1.089, allocations: 1.641 MB / 1.122 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008258/1.097, allocations: 4.077 MB / 1.126 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/1.099, allocations: 1.191 MB / 1.127 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/1.1, allocations: 474.1 kB / 1.127 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/1.1, allocations: 55.92 kB / 1.127 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/1.101, allocations: 0.7754 MB / 1.128 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 2.695e-06/1.101, allocations: 1.25 kB / 1.128 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004452/1.106, allocations: 1.835 MB / 1.13 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.106, allocations: 194.6 kB / 1.13 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.107, allocations: 0.8756 MB / 1.131 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.108, allocations: 54.42 kB / 1.131 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/1.108, allocations: 0.6041 MB / 1.131 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/1.108, allocations: 410.6 kB / 1.132 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/1.109, allocations: 255.8 kB / 1.132 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.109, allocations: 353.7 kB / 1.132 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008407/1.11, allocations: 448.2 kB / 1.133 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009547/1.111, allocations: 0.5602 MB / 1.133 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/1.112, allocations: 0.9839 MB / 1.134 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.112, allocations: 0 / 1.134 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002989/1.115, allocations: 1.337 MB / 1.136 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.115, allocations: 4.844 kB / 1.136 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.115, allocations: 1.312 kB / 1.136 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/1.116, allocations: 89.72 kB / 1.136 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.117, allocations: 260.3 kB / 1.136 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/1.119, allocations: 1.655 MB / 1.138 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.121, allocations: 146.7 kB / 1.138 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/1.121, allocations: 55.44 kB / 1.138 GB, free: 12.77 MB / 0.8731 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.0009662/1.122, allocations: 355 kB / 1.138 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/1.123, allocations: 115.9 kB / 1.138 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/1.127, allocations: 1.705 MB / 1.14 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.127, allocations: 14.53 kB / 1.14 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.127, allocations: 4.062 kB / 1.14 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.127, allocations: 8.328 kB / 1.14 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/1.129, allocations: 1.407 MB / 1.141 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.129, allocations: 4 kB / 1.141 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/1.13, allocations: 215.2 kB / 1.142 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.131, allocations: 73.64 kB / 1.142 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.131, allocations: 44.16 kB / 1.142 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.133, allocations: 1.667 MB / 1.143 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.133, allocations: 5.125 kB / 1.143 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/1.136, allocations: 1.406 MB / 1.145 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/1.137, allocations: 372.7 kB / 1.145 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/1.137, allocations: 37.81 kB / 1.145 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/1.138, allocations: 88.52 kB / 1.145 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.139, allocations: 113 kB / 1.145 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.139, allocations: 59.22 kB / 1.145 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001006/1.14, allocations: 0.6458 MB / 1.146 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.14, allocations: 0 / 1.146 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001477/1.141, allocations: 458.8 kB / 1.146 GB, free: 8.207 MB / 0.8731 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.001489/1.143, allocations: 0.6203 MB / 1.147 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.145, allocations: 1.274 MB / 1.148 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.145, allocations: 3.453 kB / 1.148 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.147, allocations: 0.7347 MB / 1.149 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/1.149, allocations: 320.6 kB / 1.149 GB, free: 7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/1.156, allocations: 2.653 MB / 1.152 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/1.157, allocations: 1.245 MB / 1.153 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001499/1.158, allocations: 333.2 kB / 1.153 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/1.159, allocations: 157.1 kB / 1.154 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of SimCode: time 1.353e-06/1.159, allocations: 0 / 1.154 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.04337/1.202, allocations: 20.74 MB / 1.174 GB, free: 11.15 MB / 0.8887 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 -s cvode -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