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.00113/0.00113, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008968/0.008968, allocations: 175 kB / 16.27 MB, free: 6.613 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.434/2.434, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005082, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6567, allocations: 142.4 MB / 0.955 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004983/0.6617, allocations: 4.995 MB / 0.9599 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.8339, allocations: 147.2 MB / 1.104 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.8353, allocations: 19.94 kB / 1.104 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.8362, allocations: 162.6 kB / 1.104 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.8386, allocations: 0.571 MB / 1.104 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.8413, allocations: 0.8618 MB / 1.105 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.844, allocations: 1.76 MB / 1.107 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.8457, allocations: 1.013 MB / 1.108 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.8469, allocations: 0.5518 MB / 1.108 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.848, allocations: 0.6137 MB / 1.109 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.8483, allocations: 40 kB / 1.109 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.8495, allocations: 387.6 kB / 1.109 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.8499, allocations: 282.5 kB / 1.11 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009927/0.8509, allocations: 0.7003 MB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.8541, allocations: 2.258 MB / 1.113 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8541, allocations: 0 / 1.113 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8541, allocations: 0 / 1.113 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.119e-05/0.8542, allocations: 0 / 1.113 GB, free: 13.48 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.003873/0.8581, allocations: 1.676 MB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.8582, allocations: 12.03 kB / 1.114 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.8595, allocations: 266.6 kB / 1.115 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.861, allocations: 0.9693 MB / 1.115 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.8611, allocations: 119.1 kB / 1.116 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.8614, allocations: 148 kB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.8644, allocations: 1.588 MB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.8645, allocations: 0 / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.8646, allocations: 67.98 kB / 1.117 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.8647, allocations: 43.98 kB / 1.117 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.8677, allocations: 1.643 MB / 1.119 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007477/0.8752, allocations: 4.175 MB / 1.123 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.8775, allocations: 1.185 MB / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.8784, allocations: 483.7 kB / 1.125 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.8785, allocations: 45.08 kB / 1.125 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.88, allocations: 0.7977 MB / 1.126 GB, free: 8 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 4.088e-06/0.88, allocations: 0 / 1.126 GB, free: 8 kB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004775/0.8848, allocations: 1.853 MB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.8849, allocations: 197.2 kB / 1.128 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.8863, allocations: 0.8732 MB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.8865, allocations: 53.7 kB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006187/0.8871, allocations: 0.5937 MB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.8876, allocations: 418 kB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8878, allocations: 105.7 kB / 1.13 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.888, allocations: 349.9 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/0.8889, allocations: 458.4 kB / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.89, allocations: 0.561 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.8918, allocations: 0.9857 MB / 1.132 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8918, allocations: 4 kB / 1.132 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003046/0.8949, allocations: 1.352 MB / 1.133 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8949, allocations: 7.984 kB / 1.133 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.895, allocations: 0 / 1.133 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.8956, allocations: 84.84 kB / 1.133 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.8967, allocations: 267.6 kB / 1.133 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.8989, allocations: 1.531 MB / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.9002, allocations: 170.9 kB / 1.135 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.9004, allocations: 59.95 kB / 1.135 GB, free: 5.82 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.0007346/0.9011, allocations: 357.7 kB / 1.136 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.9014, allocations: 118.5 kB / 1.136 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.9054, allocations: 1.721 MB / 1.137 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.9054, allocations: 12 kB / 1.137 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9054, allocations: 4 kB / 1.137 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.9054, allocations: 3.984 kB / 1.137 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.9076, allocations: 1.409 MB / 1.139 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.9076, allocations: 0 / 1.139 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/0.9086, allocations: 215.7 kB / 1.139 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.9092, allocations: 96.64 kB / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.9093, allocations: 39.97 kB / 1.139 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.9113, allocations: 1.567 MB / 1.141 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9113, allocations: 3.984 kB / 1.141 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.9144, allocations: 1.414 MB / 1.142 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.9151, allocations: 402.8 kB / 1.142 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.9153, allocations: 28 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9164, allocations: 113.9 kB / 1.142 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.9167, allocations: 117.1 kB / 1.143 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.9168, allocations: 55.95 kB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001026/0.9178, allocations: 0.6425 MB / 1.143 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9178, allocations: 0 / 1.143 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001257/0.9191, allocations: 470.5 kB / 1.144 GB, free: 12.8 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.001539/0.9206, allocations: 0.6204 MB / 1.144 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002954/0.9236, allocations: 1.275 MB / 1.146 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9236, allocations: 0 / 1.146 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.9251, allocations: 0.744 MB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.9268, allocations: 302.5 kB / 1.147 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.9339, allocations: 3.439 MB / 1.15 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.9354, allocations: 1.229 MB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001596/0.9371, allocations: 329.9 kB / 1.151 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.9376, allocations: 163.3 kB / 1.152 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9376, allocations: 0 / 1.152 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of Templates: time 0.03529/0.9729, allocations: 19.59 MB / 1.171 GB, free: 1.395 MB / 0.92 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