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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002211/0.002211, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.337/2.337, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6906, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005969/0.6967, allocations: 5.451 MB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.867, allocations: 148.9 MB / 1.1 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.8683, allocations: 15.94 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.869, allocations: 162.6 kB / 1.1 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.8711, allocations: 0.5954 MB / 1.101 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.8732, allocations: 0.8763 MB / 1.101 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.8752, allocations: 1.9 MB / 1.103 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.8765, allocations: 1.08 MB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.8776, allocations: 0.8017 MB / 1.105 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009729/0.8786, allocations: 0.8653 MB / 1.106 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.8788, allocations: 208 kB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.8798, allocations: 0.5426 MB / 1.107 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.8801, allocations: 494.4 kB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.8808, allocations: 0.8978 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.8831, allocations: 2.434 MB / 1.11 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8831, allocations: 0 / 1.11 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8831, allocations: 4 kB / 1.11 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.8832, allocations: 0 / 1.11 GB, free: 12.26 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.003806/0.887, allocations: 2.023 MB / 1.112 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.887, allocations: 12.03 kB / 1.112 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.8881, allocations: 250.6 kB / 1.113 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8895, allocations: 0.9654 MB / 1.114 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.8896, allocations: 123 kB / 1.114 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.8898, allocations: 156 kB / 1.114 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.8925, allocations: 1.576 MB / 1.115 GB, free: 7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.8925, allocations: 0 / 1.115 GB, free: 7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.8927, allocations: 67.98 kB / 1.115 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.8927, allocations: 40 kB / 1.115 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.8953, allocations: 1.631 MB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006767/0.9021, allocations: 4.142 MB / 1.121 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.9043, allocations: 1.185 MB / 1.122 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.9051, allocations: 471.7 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.9052, allocations: 48.84 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.9066, allocations: 0.7822 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.976e-06/0.9067, allocations: 0 / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.004563/0.9112, allocations: 1.842 MB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.9114, allocations: 197.2 kB / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.9126, allocations: 0.8653 MB / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.9127, allocations: 53.7 kB / 1.126 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.9132, allocations: 0.6093 MB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.9136, allocations: 406.2 kB / 1.127 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.914, allocations: 254.7 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9141, allocations: 353.9 kB / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.915, allocations: 450.4 kB / 1.128 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/0.9159, allocations: 0.561 MB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.9177, allocations: 0.9818 MB / 1.13 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9177, allocations: 0 / 1.13 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002942/0.9207, allocations: 1.344 MB / 1.131 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9207, allocations: 10.19 kB / 1.131 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9207, allocations: 0 / 1.131 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/0.9214, allocations: 84.78 kB / 1.131 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.9226, allocations: 271.7 kB / 1.132 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.9248, allocations: 1.646 MB / 1.133 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.926, allocations: 150.9 kB / 1.133 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9261, allocations: 55.95 kB / 1.133 GB, free: 4.125 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.0007112/0.9268, allocations: 357.7 kB / 1.134 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.9271, allocations: 118.6 kB / 1.134 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.9308, allocations: 1.713 MB / 1.136 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.9308, allocations: 16 kB / 1.136 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.9308, allocations: 0 / 1.136 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9309, allocations: 7.969 kB / 1.136 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.9326, allocations: 1.409 MB / 1.137 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9326, allocations: 0 / 1.137 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.9335, allocations: 215.6 kB / 1.137 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.934, allocations: 76.78 kB / 1.137 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.739e-05/0.9341, allocations: 35.97 kB / 1.137 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.936, allocations: 1.674 MB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9361, allocations: 0 / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.939, allocations: 1.414 MB / 1.14 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.9397, allocations: 371.1 kB / 1.141 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.9399, allocations: 31.91 kB / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009155/0.9408, allocations: 85.88 kB / 1.141 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.9411, allocations: 117.2 kB / 1.141 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.9412, allocations: 55.97 kB / 1.141 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000919/0.9421, allocations: 0.6425 MB / 1.141 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9421, allocations: 0 / 1.141 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00118/0.9433, allocations: 474.5 kB / 1.142 GB, free: 11.08 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.001481/0.9448, allocations: 0.6151 MB / 1.143 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.9489, allocations: 1.595 MB / 1.144 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9489, allocations: 0 / 1.144 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.9502, allocations: 0.7402 MB / 1.145 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.9517, allocations: 328.3 kB / 1.145 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.9571, allocations: 3.374 MB / 1.148 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.9579, allocations: 1.232 MB / 1.15 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001124/0.959, allocations: 329.9 kB / 1.15 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.9595, allocations: 159.3 kB / 1.15 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of SimCode: time 7.01e-07/0.9595, allocations: 3.938 kB / 1.15 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of Templates: time 0.03356/0.993, allocations: 20.56 MB / 1.17 GB, free: 14.43 MB / 0.9356 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