Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001666/0.001666, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001858/0.001858, allocations: 190.3 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.463/1.463, 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 11.0.1-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 62.64 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3917, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009507/0.4012, allocations: 6.915 MB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8553/1.257, allocations: 151.3 MB / 1.219 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/1.258, allocations: 18.28 kB / 1.219 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/1.26, allocations: 255.5 kB / 1.219 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003664/1.263, allocations: 0.8016 MB / 1.22 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/1.267, allocations: 0.9888 MB / 1.221 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003613/1.27, allocations: 2.128 MB / 1.223 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/1.272, allocations: 1.022 MB / 1.224 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.274, allocations: 0.8272 MB / 1.225 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/1.276, allocations: 0.909 MB / 1.225 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006414/1.277, allocations: 205.7 kB / 1.226 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/1.278, allocations: 0.5322 MB / 1.226 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/1.279, allocations: 493 kB / 1.227 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/1.281, allocations: 0.9533 MB / 1.228 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/1.285, allocations: 2.514 MB / 1.23 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.285, allocations: 7.75 kB / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.903e-06/1.285, allocations: 0 / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001124/1.286, allocations: 0 / 1.23 GB, free: 15.11 MB / 0.9512 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.005399/1.291, allocations: 2.059 MB / 1.232 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.291, allocations: 12.56 kB / 1.232 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.292, allocations: 254.6 kB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.294, allocations: 0.9659 MB / 1.233 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/1.294, allocations: 119.1 kB / 1.233 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/1.294, allocations: 148 kB / 1.234 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/1.297, allocations: 1.594 MB / 1.235 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.297, allocations: 0 / 1.235 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.297, allocations: 60 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/1.297, allocations: 40 kB / 1.235 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/1.3, allocations: 1.639 MB / 1.237 GB, free: 8.137 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007507/1.307, allocations: 4.57 MB / 1.241 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.309, allocations: 1.2 MB / 1.242 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007947/1.31, allocations: 479.7 kB / 1.243 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/1.31, allocations: 45 kB / 1.243 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/1.312, allocations: 0.786 MB / 1.244 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.815e-06/1.312, allocations: 0 / 1.244 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004493/1.316, allocations: 1.838 MB / 1.245 GB, free: 15 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.316, allocations: 201.2 kB / 1.246 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.317, allocations: 0.8693 MB / 1.247 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.925e-05/1.318, allocations: 49.7 kB / 1.247 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005463/1.318, allocations: 0.6053 MB / 1.247 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/1.319, allocations: 410.1 kB / 1.248 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/1.319, allocations: 254.7 kB / 1.248 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.319, allocations: 361.9 kB / 1.248 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008474/1.32, allocations: 446.4 kB / 1.249 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/1.321, allocations: 0.5649 MB / 1.249 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/1.323, allocations: 0.9857 MB / 1.25 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.323, allocations: 0 / 1.25 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002958/1.326, allocations: 1.348 MB / 1.251 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.326, allocations: 4 kB / 1.251 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.326, allocations: 0 / 1.251 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/1.326, allocations: 88.83 kB / 1.251 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.328, allocations: 269.4 kB / 1.252 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/1.33, allocations: 1.655 MB / 1.253 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.331, allocations: 142.8 kB / 1.253 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.331, allocations: 60.45 kB / 1.254 GB, free: 6.445 MB / 0.9669 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.0008191/1.332, allocations: 353.5 kB / 1.254 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/1.332, allocations: 118.5 kB / 1.254 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.336, allocations: 1.711 MB / 1.256 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.336, allocations: 15.98 kB / 1.256 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.336, allocations: 4 kB / 1.256 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/1.336, allocations: 7.984 kB / 1.256 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/1.339, allocations: 1.412 MB / 1.257 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.339, allocations: 0 / 1.257 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/1.34, allocations: 215.7 kB / 1.257 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/1.34, allocations: 76.78 kB / 1.257 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/1.34, allocations: 39.95 kB / 1.257 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.342, allocations: 1.669 MB / 1.259 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.342, allocations: 3.938 kB / 1.259 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/1.345, allocations: 1.41 MB / 1.26 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/1.346, allocations: 371 kB / 1.261 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.346, allocations: 47.83 kB / 1.261 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.347, allocations: 79.91 kB / 1.261 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.348, allocations: 109.2 kB / 1.261 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.348, allocations: 59.95 kB / 1.261 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001107/1.349, allocations: 0.6464 MB / 1.262 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.349, allocations: 0 / 1.262 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001503/1.35, allocations: 486.6 kB / 1.262 GB, free: 13.38 MB / 0.9825 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.001641/1.352, allocations: 0.6285 MB / 1.263 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.357, allocations: 1.591 MB / 1.264 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.357, allocations: 0 / 1.264 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/1.358, allocations: 0.744 MB / 1.265 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/1.36, allocations: 352.5 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/1.366, allocations: 2.635 MB / 1.268 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.367, allocations: 1.236 MB / 1.269 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/1.368, allocations: 179.3 kB / 1.269 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of SimCode: time 1.713e-06/1.368, allocations: 0 / 1.269 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of Templates: time 0.04515/1.413, allocations: 27.83 MB / 1.296 GB, free: 10.39 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches