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.00555/0.00555, allocations: 96.8 kB / 15.73 MB, free: 6.484 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.001194/0.001194, allocations: 192.3 kB / 16.67 MB, free: 6.391 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 / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.08 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3328, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007727/0.3405, allocations: 7.051 MB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.942/1.283, allocations: 151.6 MB / 1.375 GB, free: 8.941 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/1.284, allocations: 18.56 kB / 1.376 GB, free: 8.938 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/1.286, allocations: 262.8 kB / 1.376 GB, free: 8.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00372/1.29, allocations: 0.7822 MB / 1.377 GB, free: 8.289 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/1.293, allocations: 1.021 MB / 1.378 GB, free: 7.734 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004001/1.297, allocations: 2.089 MB / 1.38 GB, free: 6.637 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/1.299, allocations: 0.7692 MB / 1.38 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/1.301, allocations: 0.8261 MB / 1.381 GB, free: 5.727 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/1.303, allocations: 0.8842 MB / 1.382 GB, free: 5.156 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000757/1.304, allocations: 217.7 kB / 1.382 GB, free: 5.156 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/1.306, allocations: 0.5729 MB / 1.383 GB, free: 4.977 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008329/1.307, allocations: 496 kB / 1.383 GB, free: 4.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/1.309, allocations: 0.968 MB / 1.384 GB, free: 3.863 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/1.314, allocations: 2.68 MB / 1.387 GB, free: 1.883 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.314, allocations: 0 / 1.387 GB, free: 1.883 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/1.314, allocations: 1.188 kB / 1.387 GB, free: 1.883 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.209e-05/1.314, allocations: 0 / 1.387 GB, free: 1.883 MB / 1.076 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.004501/1.318, allocations: 2.091 MB / 1.389 GB, free: 288 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.318, allocations: 10.25 kB / 1.389 GB, free: 288 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.319, allocations: 274.8 kB / 1.389 GB, free: 144 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/1.321, allocations: 0.999 MB / 1.39 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.321, allocations: 147.3 kB / 1.39 GB, free: 15.24 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/1.322, allocations: 152.8 kB / 1.39 GB, free: 15.19 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/1.325, allocations: 1.589 MB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.325, allocations: 0.5625 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.325, allocations: 66.78 kB / 1.392 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.325, allocations: 37.91 kB / 1.392 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/1.328, allocations: 1.596 MB / 1.394 GB, free: 13.38 MB / 1.092 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.007824/1.335, allocations: 4.696 MB / 1.398 GB, free: 9.617 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/1.337, allocations: 1.018 MB / 1.399 GB, free: 9.09 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/1.338, allocations: 393.4 kB / 1.4 GB, free: 8.887 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/1.338, allocations: 50.88 kB / 1.4 GB, free: 8.852 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.34, allocations: 0.7074 MB / 1.4 GB, free: 8.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=111): time 2.545e-06/1.34, allocations: 0 / 1.4 GB, free: 8.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=111): time 0.004381/1.344, allocations: 1.664 MB / 1.402 GB, free: 7.516 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.344, allocations: 196.7 kB / 1.402 GB, free: 7.293 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.345, allocations: 0.8456 MB / 1.403 GB, free: 6.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.345, allocations: 46.33 kB / 1.403 GB, free: 6.773 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/1.346, allocations: 0.6287 MB / 1.404 GB, free: 6.219 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/1.346, allocations: 377.2 kB / 1.404 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/1.347, allocations: 227.2 kB / 1.404 GB, free: 5.754 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.347, allocations: 348.4 kB / 1.404 GB, free: 5.418 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/1.347, allocations: 400.8 kB / 1.405 GB, free: 5.215 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/1.348, allocations: 0.5055 MB / 1.405 GB, free: 4.922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/1.35, allocations: 0.8905 MB / 1.406 GB, free: 4.438 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.35, allocations: 0.75 kB / 1.406 GB, free: 4.438 MB / 1.092 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002642/1.352, allocations: 1.216 MB / 1.407 GB, free: 3.809 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.352, allocations: 7.281 kB / 1.407 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.352, allocations: 0 / 1.407 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/1.353, allocations: 90.95 kB / 1.408 GB, free: 3.762 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/1.354, allocations: 230 kB / 1.408 GB, free: 3.703 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/1.356, allocations: 1.638 MB / 1.409 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.357, allocations: 150 kB / 1.409 GB, free: 2.004 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/1.357, allocations: 47.16 kB / 1.41 GB, free: 1.988 MB / 1.092 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.0007159/1.358, allocations: 358.8 kB / 1.41 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/1.358, allocations: 118.7 kB / 1.41 GB, free: 1.66 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/1.361, allocations: 1.526 MB / 1.411 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.361, allocations: 13.34 kB / 1.411 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.361, allocations: 0 / 1.411 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.362, allocations: 8.031 kB / 1.411 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.363, allocations: 1.379 MB / 1.413 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.363, allocations: 4 kB / 1.413 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/1.364, allocations: 203.6 kB / 1.413 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/1.365, allocations: 64.8 kB / 1.413 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/1.365, allocations: 39.97 kB / 1.413 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.366, allocations: 1.666 MB / 1.415 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.366, allocations: 3.938 kB / 1.415 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/1.369, allocations: 1.286 MB / 1.416 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/1.37, allocations: 371.8 kB / 1.416 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/1.37, allocations: 31.95 kB / 1.416 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/1.371, allocations: 79.91 kB / 1.416 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.371, allocations: 93.31 kB / 1.417 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/1.371, allocations: 55.97 kB / 1.417 GB, free: 11.62 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008459/1.372, allocations: 0.6174 MB / 1.417 GB, free: 11 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.372, allocations: 0 / 1.417 GB, free: 11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001282/1.373, allocations: 482.6 kB / 1.418 GB, free: 10.52 MB / 1.107 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.001411/1.375, allocations: 0.6253 MB / 1.418 GB, free: 10.08 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002282/1.377, allocations: 1.107 MB / 1.419 GB, free: 8.961 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.377, allocations: 4 kB / 1.419 GB, free: 8.957 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.378, allocations: 0.6389 MB / 1.42 GB, free: 8.309 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.38, allocations: 363.1 kB / 1.42 GB, free: 7.973 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/1.385, allocations: 2.508 MB / 1.423 GB, free: 5.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.386, allocations: 1.22 MB / 1.424 GB, free: 4.176 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001162/1.387, allocations: 317.3 kB / 1.424 GB, free: 3.863 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/1.387, allocations: 147.3 kB / 1.424 GB, free: 3.719 MB / 1.107 GB Notification: Performance of SimCode: time 1.322e-06/1.387, allocations: 4 kB / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of Templates: time 0.03826/1.426, allocations: 20.99 MB / 1.445 GB, free: 14.93 MB / 1.139 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches