Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001346/0.001346, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 68.08 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009261/0.337, allocations: 7.004 MB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6724/1.009, allocations: 148.9 MB / 1.216 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/1.011, allocations: 21.66 kB / 1.216 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000765/1.011, allocations: 203.9 kB / 1.217 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/1.014, allocations: 0.6743 MB / 1.217 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/1.016, allocations: 0.9212 MB / 1.218 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002736/1.019, allocations: 2.083 MB / 1.22 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/1.021, allocations: 1.104 MB / 1.221 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/1.022, allocations: 0.8227 MB / 1.222 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/1.023, allocations: 0.8835 MB / 1.223 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/1.024, allocations: 218.2 kB / 1.223 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/1.025, allocations: 0.5492 MB / 1.224 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/1.025, allocations: 496.4 kB / 1.224 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009415/1.026, allocations: 0.972 MB / 1.225 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/1.029, allocations: 2.027 MB / 1.227 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.029, allocations: 0 / 1.227 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/1.029, allocations: 0 / 1.227 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.049e-05/1.029, allocations: 0 / 1.227 GB, free: 1.902 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004179/1.033, allocations: 2.051 MB / 1.229 GB, free: 24 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.033, allocations: 12.03 kB / 1.229 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.034, allocations: 255.3 kB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.036, allocations: 0.9698 MB / 1.23 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/1.036, allocations: 152.8 kB / 1.23 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.036, allocations: 152.8 kB / 1.231 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/1.039, allocations: 1.585 MB / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.039, allocations: 0 / 1.232 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.039, allocations: 68 kB / 1.232 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.039, allocations: 36 kB / 1.232 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/1.042, allocations: 1.602 MB / 1.234 GB, free: 11.09 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.007782/1.05, allocations: 4.724 MB / 1.238 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/1.052, allocations: 1.089 MB / 1.239 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/1.053, allocations: 444.3 kB / 1.24 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/1.053, allocations: 41.08 kB / 1.24 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.054, allocations: 0.6996 MB / 1.241 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 3.447e-06/1.054, allocations: 0 / 1.241 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004287/1.058, allocations: 1.661 MB / 1.242 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/1.058, allocations: 196.9 kB / 1.242 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.06, allocations: 0.8414 MB / 1.243 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.06, allocations: 49.7 kB / 1.243 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/1.061, allocations: 0.6217 MB / 1.244 GB, free: 448 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/1.061, allocations: 351 kB / 1.244 GB, free: 92 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.061, allocations: 222.8 kB / 1.244 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.062, allocations: 357.9 kB / 1.245 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/1.062, allocations: 398.4 kB / 1.245 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/1.063, allocations: 0.5072 MB / 1.246 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.065, allocations: 0.8876 MB / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.065, allocations: 0 / 1.247 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00284/1.068, allocations: 1.215 MB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.068, allocations: 4 kB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.068, allocations: 4.125 kB / 1.248 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/1.068, allocations: 84.77 kB / 1.248 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/1.069, allocations: 231.4 kB / 1.248 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.072, allocations: 1.674 MB / 1.25 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.073, allocations: 141.3 kB / 1.25 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.073, allocations: 55.95 kB / 1.25 GB, free: 10.14 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007803/1.074, allocations: 344.2 kB / 1.25 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/1.074, allocations: 106.7 kB / 1.25 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/1.078, allocations: 1.542 MB / 1.252 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.078, allocations: 12 kB / 1.252 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.078, allocations: 0 / 1.252 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.078, allocations: 3.984 kB / 1.252 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.08, allocations: 1.372 MB / 1.253 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.08, allocations: 3.938 kB / 1.253 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/1.081, allocations: 195.7 kB / 1.253 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.081, allocations: 76.78 kB / 1.253 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/1.081, allocations: 35.97 kB / 1.253 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/1.084, allocations: 1.682 MB / 1.255 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.084, allocations: 3.938 kB / 1.255 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/1.087, allocations: 1.281 MB / 1.256 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007609/1.087, allocations: 355.2 kB / 1.257 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/1.088, allocations: 39.83 kB / 1.257 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.089, allocations: 91.84 kB / 1.257 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.089, allocations: 101.2 kB / 1.257 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.089, allocations: 51.95 kB / 1.257 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00115/1.09, allocations: 0.6135 MB / 1.258 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/1.09, allocations: 0 / 1.258 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00161/1.092, allocations: 478.5 kB / 1.258 GB, free: 1.508 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002265/1.094, allocations: 0.6255 MB / 1.259 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004/1.098, allocations: 1.428 MB / 1.26 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.098, allocations: 4 kB / 1.26 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.1, allocations: 0.6779 MB / 1.261 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.102, allocations: 353 kB / 1.261 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005798/1.107, allocations: 3.243 MB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.109, allocations: 1.212 MB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/1.109, allocations: 167.3 kB / 1.266 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/1.109, allocations: 0 / 1.266 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.04635/1.155, allocations: 27.3 MB / 1.292 GB, free: 14.7 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches