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.001183/0.001182, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001212/0.001212, allocations: 199.9 kB / 16.91 MB, free: 6.195 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.2 MB / 0.665 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 59.97 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2878, allocations: 140.4 MB / 0.9498 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008097/0.2959, allocations: 5.454 MB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8337/1.13, allocations: 148.9 MB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.131, allocations: 21.66 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007735/1.132, allocations: 159.9 kB / 1.101 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002713/1.135, allocations: 0.5948 MB / 1.101 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/1.138, allocations: 0.883 MB / 1.102 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003205/1.141, allocations: 1.885 MB / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/1.143, allocations: 1.074 MB / 1.105 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/1.145, allocations: 0.7984 MB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/1.146, allocations: 0.8711 MB / 1.107 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/1.147, allocations: 210.8 kB / 1.107 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/1.148, allocations: 0.5383 MB / 1.107 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/1.149, allocations: 484.8 kB / 1.108 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.15, allocations: 0.9007 MB / 1.109 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/1.154, allocations: 1.884 MB / 1.111 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.154, allocations: 1.156 kB / 1.111 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.767e-06/1.154, allocations: 0 / 1.111 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.776e-05/1.154, allocations: 0 / 1.111 GB, free: 3.992 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.005936/1.16, allocations: 2.025 MB / 1.113 GB, free: 19 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.16, allocations: 10.84 kB / 1.113 GB, free: 19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.161, allocations: 258.2 kB / 1.113 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.163, allocations: 0.9656 MB / 1.114 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.163, allocations: 115.3 kB / 1.114 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.164, allocations: 153.8 kB / 1.114 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/1.167, allocations: 1.584 MB / 1.116 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.167, allocations: 3.984 kB / 1.116 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.167, allocations: 66.59 kB / 1.116 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/1.167, allocations: 37.34 kB / 1.116 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/1.17, allocations: 1.639 MB / 1.117 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008458/1.179, allocations: 4.134 MB / 1.121 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.181, allocations: 1.179 MB / 1.122 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/1.182, allocations: 478.8 kB / 1.123 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/1.182, allocations: 50.33 kB / 1.123 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/1.183, allocations: 0.783 MB / 1.124 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 4.138e-06/1.184, allocations: 0 / 1.124 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004867/1.188, allocations: 1.834 MB / 1.125 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.189, allocations: 199.5 kB / 1.126 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.19, allocations: 0.8671 MB / 1.126 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.19, allocations: 53.39 kB / 1.127 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/1.191, allocations: 0.6075 MB / 1.127 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/1.191, allocations: 407.7 kB / 1.128 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004285/1.192, allocations: 261.1 kB / 1.128 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.192, allocations: 353.6 kB / 1.128 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008767/1.193, allocations: 447.8 kB / 1.129 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/1.194, allocations: 0.5572 MB / 1.129 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.196, allocations: 0.9834 MB / 1.13 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.196, allocations: 1.094 kB / 1.13 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003288/1.199, allocations: 1.339 MB / 1.131 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/1.199, allocations: 5.438 kB / 1.131 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.199, allocations: 1.188 kB / 1.131 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/1.2, allocations: 86.7 kB / 1.131 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.201, allocations: 271.9 kB / 1.132 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.203, allocations: 1.636 MB / 1.133 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.205, allocations: 148 kB / 1.133 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.205, allocations: 61.72 kB / 1.134 GB, free: 13.81 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.0009263/1.206, allocations: 355 kB / 1.134 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/1.206, allocations: 118.7 kB / 1.134 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/1.21, allocations: 1.711 MB / 1.136 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.21, allocations: 16.59 kB / 1.136 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.21, allocations: 0.9375 kB / 1.136 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.21, allocations: 4.688 kB / 1.136 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.213, allocations: 1.403 MB / 1.137 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.213, allocations: 2.234 kB / 1.137 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.214, allocations: 214.9 kB / 1.137 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/1.214, allocations: 76.95 kB / 1.137 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.215, allocations: 42.42 kB / 1.137 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.217, allocations: 1.68 MB / 1.139 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.217, allocations: 5 kB / 1.139 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/1.22, allocations: 1.409 MB / 1.14 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/1.221, allocations: 371 kB / 1.141 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.221, allocations: 37.81 kB / 1.141 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.222, allocations: 88.28 kB / 1.141 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.223, allocations: 114.2 kB / 1.141 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.223, allocations: 57.16 kB / 1.141 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001126/1.224, allocations: 0.6443 MB / 1.142 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.31e-07/1.224, allocations: 0 / 1.142 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001673/1.226, allocations: 461.7 kB / 1.142 GB, free: 9.395 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.001604/1.227, allocations: 0.6369 MB / 1.143 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.232, allocations: 1.581 MB / 1.144 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.232, allocations: 0 / 1.144 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/1.233, allocations: 0.7372 MB / 1.145 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.235, allocations: 325.5 kB / 1.145 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/1.242, allocations: 3.431 MB / 1.149 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/1.243, allocations: 1.236 MB / 1.15 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.244, allocations: 171.1 kB / 1.15 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/1.244, allocations: 6.531 kB / 1.15 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of Templates: time 0.04306/1.287, allocations: 27.38 MB / 1.177 GB, free: 8.363 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 -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