Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_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_9_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.001535/0.001535, allocations: 105 kB / 16.41 MB, free: 6.465 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.001766/0.001766, allocations: 187 kB / 17.34 MB, free: 5.719 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.38/1.38, allocations: 222.9 MB / 241 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.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8726, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006568/0.8793, allocations: 5.329 MB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2032/1.082, allocations: 151 MB / 1.241 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/1.084, allocations: 23.25 kB / 1.241 GB, free: 48 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008166/1.085, allocations: 211.8 kB / 1.241 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/1.088, allocations: 0.6449 MB / 1.242 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/1.091, allocations: 1.001 MB / 1.243 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002639/1.094, allocations: 1.805 MB / 1.245 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.095, allocations: 1.182 MB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/1.097, allocations: 0.7863 MB / 1.247 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009961/1.098, allocations: 0.8306 MB / 1.248 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000295/1.098, allocations: 220 kB / 1.248 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/1.099, allocations: 0.5777 MB / 1.248 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/1.099, allocations: 494.5 kB / 1.249 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/1.1, allocations: 0.9134 MB / 1.25 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/1.103, allocations: 2.57 MB / 1.252 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.103, allocations: 4 kB / 1.252 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/1.103, allocations: 0 / 1.252 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.111e-05/1.103, allocations: 0 / 1.252 GB, free: 6.32 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003981/1.107, allocations: 2.006 MB / 1.254 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.107, allocations: 12.03 kB / 1.254 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.109, allocations: 250.6 kB / 1.254 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.11, allocations: 0.9929 MB / 1.255 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.11, allocations: 144.8 kB / 1.256 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/1.11, allocations: 152 kB / 1.256 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.113, allocations: 1.589 MB / 1.257 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.113, allocations: 4 kB / 1.257 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.113, allocations: 68 kB / 1.257 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.113, allocations: 36 kB / 1.257 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/1.116, allocations: 1.6 MB / 1.259 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006885/1.123, allocations: 4.186 MB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/1.125, allocations: 1.09 MB / 1.264 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/1.125, allocations: 431.7 kB / 1.264 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/1.126, allocations: 37.02 kB / 1.264 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/1.127, allocations: 0.6998 MB / 1.265 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.745e-06/1.127, allocations: 0 / 1.265 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.003888/1.131, allocations: 1.649 MB / 1.267 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.131, allocations: 196.9 kB / 1.267 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.132, allocations: 0.8453 MB / 1.268 GB, free: 6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.132, allocations: 53.64 kB / 1.268 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/1.133, allocations: 0.6167 MB / 1.268 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/1.133, allocations: 351 kB / 1.269 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/1.133, allocations: 230.7 kB / 1.269 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.133, allocations: 345.9 kB / 1.269 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/1.134, allocations: 398.4 kB / 1.27 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/1.135, allocations: 0.5072 MB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.137, allocations: 0.8838 MB / 1.271 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.137, allocations: 3.984 kB / 1.271 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002718/1.139, allocations: 1.203 MB / 1.272 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.139, allocations: 4 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.139, allocations: 4.062 kB / 1.272 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/1.14, allocations: 88.83 kB / 1.272 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/1.141, allocations: 227.6 kB / 1.273 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.143, allocations: 1.65 MB / 1.274 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.145, allocations: 135 kB / 1.274 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.145, allocations: 51.95 kB / 1.274 GB, free: 15.07 MB / 1.014 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.0009523/1.146, allocations: 356.4 kB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/1.146, allocations: 106.7 kB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/1.149, allocations: 1.532 MB / 1.276 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.15, allocations: 12 kB / 1.276 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.15, allocations: 0 / 1.276 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.15, allocations: 3.984 kB / 1.276 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/1.151, allocations: 1.372 MB / 1.278 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.151, allocations: 4 kB / 1.278 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/1.152, allocations: 199.7 kB / 1.278 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/1.153, allocations: 68.78 kB / 1.278 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.441e-05/1.153, allocations: 39.97 kB / 1.278 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/1.155, allocations: 1.67 MB / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.155, allocations: 0 / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/1.157, allocations: 1.285 MB / 1.281 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.158, allocations: 363.2 kB / 1.281 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.158, allocations: 35.83 kB / 1.281 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/1.159, allocations: 82.27 kB / 1.281 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.159, allocations: 101.2 kB / 1.281 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.159, allocations: 47.97 kB / 1.281 GB, free: 7.547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008381/1.16, allocations: 0.6213 MB / 1.282 GB, free: 6.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.16, allocations: 0 / 1.282 GB, free: 6.914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001165/1.161, allocations: 442.5 kB / 1.282 GB, free: 6.48 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: 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.001465/1.163, allocations: 0.6273 MB / 1.283 GB, free: 6.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002327/1.165, allocations: 1.15 MB / 1.284 GB, free: 4.867 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.165, allocations: 4 kB / 1.284 GB, free: 4.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.166, allocations: 0.6779 MB / 1.285 GB, free: 4.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.168, allocations: 308.1 kB / 1.285 GB, free: 3.887 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/1.173, allocations: 2.618 MB / 1.288 GB, free: 1.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/1.174, allocations: 1.22 MB / 1.289 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/1.175, allocations: 159.3 kB / 1.289 GB, free: 15.82 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/1.175, allocations: 0 / 1.289 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Templates: time 0.04031/1.215, allocations: 26.93 MB / 1.315 GB, free: 4.957 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches