Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.00169/0.00169, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.245/2.245, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 65.62 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2899, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006836/0.2968, allocations: 4.488 MB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8349/1.132, allocations: 150.7 MB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/1.133, allocations: 17 kB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007116/1.134, allocations: 180.9 kB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/1.136, allocations: 0.5311 MB / 1.103 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/1.139, allocations: 0.8274 MB / 1.103 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002727/1.142, allocations: 1.361 MB / 1.105 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.143, allocations: 0.6285 MB / 1.105 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/1.144, allocations: 0.4968 MB / 1.106 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.146, allocations: 0.521 MB / 1.106 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/1.146, allocations: 120.3 kB / 1.106 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/1.147, allocations: 470.4 kB / 1.107 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004798/1.148, allocations: 306.8 kB / 1.107 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.149, allocations: 0.5656 MB / 1.108 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003971/1.153, allocations: 1.614 MB / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.153, allocations: 6.078 kB / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/1.153, allocations: 0 / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.224e-05/1.153, allocations: 0 / 1.109 GB, free: 4.094 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.005162/1.158, allocations: 1.461 MB / 1.111 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/1.158, allocations: 13.53 kB / 1.111 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/1.16, allocations: 197.1 kB / 1.111 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.161, allocations: 0.7567 MB / 1.112 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/1.161, allocations: 66.66 kB / 1.112 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/1.162, allocations: 89.22 kB / 1.112 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/1.164, allocations: 0.9696 MB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/1.164, allocations: 0.9375 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/1.164, allocations: 37.11 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/1.164, allocations: 21.03 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/1.167, allocations: 1.158 MB / 1.114 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006367/1.173, allocations: 2.677 MB / 1.117 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/1.175, allocations: 0.8447 MB / 1.117 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/1.176, allocations: 323.5 kB / 1.118 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/1.176, allocations: 32.45 kB / 1.118 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/1.177, allocations: 0.5305 MB / 1.118 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.865e-06/1.177, allocations: 0 / 1.118 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.00415/1.181, allocations: 1.284 MB / 1.119 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.182, allocations: 193.1 kB / 1.12 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.183, allocations: 0.6617 MB / 1.12 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.183, allocations: 41.48 kB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.183, allocations: 407 kB / 1.121 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.184, allocations: 289.1 kB / 1.121 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.184, allocations: 177.4 kB / 1.121 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002269/1.184, allocations: 389.8 kB / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/1.185, allocations: 289.5 kB / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/1.186, allocations: 397.6 kB / 1.122 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.187, allocations: 0.6517 MB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.187, allocations: 1.281 kB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002647/1.19, allocations: 0.9184 MB / 1.124 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.19, allocations: 9.5 kB / 1.124 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.19, allocations: 5.031 kB / 1.124 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/1.191, allocations: 82.22 kB / 1.124 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/1.192, allocations: 183.1 kB / 1.124 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/1.194, allocations: 1.627 MB / 1.126 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.195, allocations: 100.5 kB / 1.126 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.196, allocations: 38.34 kB / 1.126 GB, free: 14.87 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0007828/1.196, allocations: 285.2 kB / 1.126 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/1.197, allocations: 85.06 kB / 1.126 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/1.2, allocations: 1.17 MB / 1.127 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.2, allocations: 13.56 kB / 1.127 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.2, allocations: 1.156 kB / 1.127 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.2, allocations: 4.828 kB / 1.127 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.201, allocations: 0.9397 MB / 1.128 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.201, allocations: 1.375 kB / 1.128 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/1.202, allocations: 156.6 kB / 1.128 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/1.203, allocations: 69.03 kB / 1.128 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/1.203, allocations: 28.75 kB / 1.128 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/1.205, allocations: 1.668 MB / 1.13 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.205, allocations: 3.656 kB / 1.13 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.208, allocations: 0.9905 MB / 1.131 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006117/1.208, allocations: 276 kB / 1.131 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.209, allocations: 38.59 kB / 1.131 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/1.209, allocations: 65.25 kB / 1.131 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.21, allocations: 82.3 kB / 1.131 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/1.21, allocations: 41.27 kB / 1.131 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008062/1.211, allocations: 476.1 kB / 1.132 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.211, allocations: 0 / 1.132 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001326/1.212, allocations: 326.5 kB / 1.132 GB, free: 12.43 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001669/1.214, allocations: 0.6103 MB / 1.133 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003356/1.217, allocations: 1.113 MB / 1.134 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.217, allocations: 5.531 kB / 1.134 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.218, allocations: 0.5396 MB / 1.134 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.22, allocations: 294.6 kB / 1.135 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/1.225, allocations: 1.897 MB / 1.137 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/1.226, allocations: 1.039 MB / 1.138 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/1.227, allocations: 125.2 kB / 1.138 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of SimCode: time 1.372e-06/1.227, allocations: 0 / 1.138 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.04016/1.267, allocations: 19.17 MB / 1.156 GB, free: 3.598 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches