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.008503/0.008503, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.00216/0.00216, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.176/2.176, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 55.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7183, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006256/0.7246, allocations: 5.469 MB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.19/0.9146, allocations: 151.1 MB / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.9159, allocations: 21.84 kB / 1.241 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.9166, allocations: 212.2 kB / 1.241 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.9191, allocations: 0.6927 MB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.9216, allocations: 0.9738 MB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.9239, allocations: 1.904 MB / 1.244 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.9253, allocations: 1.081 MB / 1.246 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.9265, allocations: 0.8062 MB / 1.246 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.9274, allocations: 0.8712 MB / 1.247 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.9277, allocations: 204 kB / 1.247 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.9289, allocations: 0.5621 MB / 1.248 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.9294, allocations: 498.4 kB / 1.248 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.9302, allocations: 0.8978 MB / 1.249 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.9331, allocations: 2.498 MB / 1.252 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9331, allocations: 0 / 1.252 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9331, allocations: 0 / 1.252 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.9331, allocations: 0 / 1.252 GB, free: 5.949 MB / 0.9825 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.00407/0.9372, allocations: 2.079 MB / 1.254 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9373, allocations: 8.031 kB / 1.254 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.9384, allocations: 271.6 kB / 1.254 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.94, allocations: 0.9974 MB / 1.255 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.9401, allocations: 115.1 kB / 1.255 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.9403, allocations: 151.9 kB / 1.255 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.9431, allocations: 1.588 MB / 1.257 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.9431, allocations: 0 / 1.257 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.9432, allocations: 64 kB / 1.257 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.9433, allocations: 36 kB / 1.257 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.946, allocations: 1.639 MB / 1.258 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006854/0.9529, allocations: 4.104 MB / 1.263 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.955, allocations: 1.182 MB / 1.264 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.9558, allocations: 471.7 kB / 1.264 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.9559, allocations: 57 kB / 1.264 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.9573, allocations: 0.7787 MB / 1.265 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 5.31e-06/0.9573, allocations: 3.984 kB / 1.265 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004507/0.9618, allocations: 1.838 MB / 1.267 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.962, allocations: 201.2 kB / 1.267 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.9632, allocations: 0.8654 MB / 1.268 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.9633, allocations: 49.7 kB / 1.268 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/0.9638, allocations: 0.6262 MB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.9642, allocations: 432.3 kB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.9645, allocations: 258.8 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9647, allocations: 353.9 kB / 1.269 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008324/0.9655, allocations: 446.4 kB / 1.27 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/0.9665, allocations: 0.561 MB / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.9683, allocations: 0.9779 MB / 1.271 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9683, allocations: 4 kB / 1.271 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002908/0.9713, allocations: 1.34 MB / 1.273 GB, free: 72 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.9713, allocations: 8 kB / 1.273 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9713, allocations: 0 / 1.273 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.9719, allocations: 84.89 kB / 1.273 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.9731, allocations: 267.5 kB / 1.273 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.9752, allocations: 1.65 MB / 1.275 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.9764, allocations: 155 kB / 1.275 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.9765, allocations: 59.94 kB / 1.275 GB, free: 13.71 MB / 1.014 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.0006766/0.9772, allocations: 349.9 kB / 1.275 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.9775, allocations: 127.2 kB / 1.275 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.9812, allocations: 1.702 MB / 1.277 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.9812, allocations: 16 kB / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9812, allocations: 3.984 kB / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.9812, allocations: 3.984 kB / 1.277 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.9828, allocations: 1.409 MB / 1.278 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.9828, allocations: 4 kB / 1.278 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/0.9838, allocations: 219.6 kB / 1.279 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.9843, allocations: 72.78 kB / 1.279 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.702e-05/0.9844, allocations: 39.97 kB / 1.279 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.9863, allocations: 1.674 MB / 1.28 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9863, allocations: 0 / 1.28 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.9891, allocations: 1.415 MB / 1.282 GB, free: 6.453 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.9897, allocations: 379.8 kB / 1.282 GB, free: 6.062 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.9899, allocations: 43.88 kB / 1.282 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009565/0.9909, allocations: 79.92 kB / 1.282 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.9911, allocations: 113.1 kB / 1.282 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.9912, allocations: 51.97 kB / 1.282 GB, free: 5.777 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008586/0.9921, allocations: 0.6464 MB / 1.283 GB, free: 5.121 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9921, allocations: 0 / 1.283 GB, free: 5.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/0.9932, allocations: 474.7 kB / 1.283 GB, free: 4.656 MB / 1.014 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.001396/0.9946, allocations: 0.6251 MB / 1.284 GB, free: 4.203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.9971, allocations: 1.267 MB / 1.285 GB, free: 2.922 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.9971, allocations: 4 kB / 1.285 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.9984, allocations: 0.7519 MB / 1.286 GB, free: 2.156 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.9998, allocations: 326.9 kB / 1.286 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.005, allocations: 2.695 MB / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/1.006, allocations: 1.236 MB / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001084/1.007, allocations: 329.9 kB / 1.29 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/1.007, allocations: 155.3 kB / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.007, allocations: 0 / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Templates: time 0.03564/1.043, allocations: 20.99 MB / 1.311 GB, free: 8.543 MB / 1.045 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