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: 104.2 kB / 16.27 MB, free: 6.414 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.001544/0.001544, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.164/2.164, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.78 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007858/0.271, allocations: 5.454 MB / 0.9556 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6719/0.9429, allocations: 151.1 MB / 1.103 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.9444, allocations: 18.41 kB / 1.103 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.9453, allocations: 210.5 kB / 1.103 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.9484, allocations: 0.6759 MB / 1.104 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.9513, allocations: 0.9768 MB / 1.105 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.9548, allocations: 1.885 MB / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.9566, allocations: 1.077 MB / 1.108 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.9581, allocations: 0.7898 MB / 1.109 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.9596, allocations: 0.8674 MB / 1.11 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.9601, allocations: 210.9 kB / 1.11 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.9617, allocations: 0.5377 MB / 1.11 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.9622, allocations: 482.9 kB / 1.111 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.9633, allocations: 0.91 MB / 1.112 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.967, allocations: 2.427 MB / 1.114 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.967, allocations: 1.281 kB / 1.114 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/0.967, allocations: 0 / 1.114 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.05e-05/0.9671, allocations: 0 / 1.114 GB, free: 3.141 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.005192/0.9723, allocations: 2.028 MB / 1.116 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9724, allocations: 9.688 kB / 1.116 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.9736, allocations: 255.8 kB / 1.116 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.9752, allocations: 0.9721 MB / 1.117 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.9753, allocations: 116.2 kB / 1.117 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.9755, allocations: 147.2 kB / 1.117 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.9783, allocations: 1.583 MB / 1.119 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.9783, allocations: 3.938 kB / 1.119 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.9785, allocations: 67.3 kB / 1.119 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.9785, allocations: 37.72 kB / 1.119 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.9812, allocations: 1.64 MB / 1.121 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006973/0.9882, allocations: 4.129 MB / 1.125 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.9904, allocations: 1.186 MB / 1.126 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.9912, allocations: 476.4 kB / 1.126 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.923e-05/0.9913, allocations: 46.77 kB / 1.126 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.9926, allocations: 0.7829 MB / 1.127 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.9926, allocations: 0 / 1.127 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004307/0.9969, allocations: 1.839 MB / 1.129 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.997, allocations: 197.1 kB / 1.129 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.9983, allocations: 0.8691 MB / 1.13 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.9985, allocations: 50.95 kB / 1.13 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.9989, allocations: 0.6028 MB / 1.131 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.9992, allocations: 410.8 kB / 1.131 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.9996, allocations: 261.8 kB / 1.131 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9997, allocations: 357.9 kB / 1.132 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/1.001, allocations: 445.6 kB / 1.132 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/1.001, allocations: 0.5598 MB / 1.133 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.003, allocations: 0.9822 MB / 1.133 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.003, allocations: 0 / 1.133 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003172/1.006, allocations: 1.341 MB / 1.135 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.006, allocations: 6.125 kB / 1.135 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.006, allocations: 1.125 kB / 1.135 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005828/1.007, allocations: 87.77 kB / 1.135 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.008, allocations: 267.1 kB / 1.135 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.011, allocations: 1.642 MB / 1.137 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.012, allocations: 151.5 kB / 1.137 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/1.013, allocations: 55.84 kB / 1.137 GB, free: 12.73 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.0009823/1.014, allocations: 357.4 kB / 1.137 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/1.014, allocations: 117.7 kB / 1.137 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/1.018, allocations: 1.712 MB / 1.139 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.018, allocations: 13.91 kB / 1.139 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.018, allocations: 1.094 kB / 1.139 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.018, allocations: 6.844 kB / 1.139 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/1.02, allocations: 1.402 MB / 1.14 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.02, allocations: 1.156 kB / 1.14 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.021, allocations: 214.5 kB / 1.141 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.022, allocations: 75.98 kB / 1.141 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.022, allocations: 44.59 kB / 1.141 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/1.024, allocations: 1.676 MB / 1.142 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.024, allocations: 6.422 kB / 1.142 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/1.028, allocations: 1.407 MB / 1.144 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/1.028, allocations: 371 kB / 1.144 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.029, allocations: 39.39 kB / 1.144 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/1.03, allocations: 83.62 kB / 1.144 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.03, allocations: 113.3 kB / 1.144 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.03, allocations: 61.64 kB / 1.144 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001019/1.031, allocations: 0.6438 MB / 1.145 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/1.031, allocations: 0 / 1.145 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001356/1.032, allocations: 459.3 kB / 1.145 GB, free: 8.148 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.001351/1.034, allocations: 0.6329 MB / 1.146 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004099/1.038, allocations: 1.588 MB / 1.148 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.038, allocations: 0 / 1.148 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.039, allocations: 0.7378 MB / 1.148 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.041, allocations: 325.7 kB / 1.149 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/1.046, allocations: 2.744 MB / 1.151 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.047, allocations: 1.239 MB / 1.153 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/1.048, allocations: 173.1 kB / 1.153 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of SimCode: time 1.272e-06/1.048, allocations: 0 / 1.153 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of Templates: time 0.03845/1.087, allocations: 27.37 MB / 1.179 GB, free: 6.926 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