Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 113.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 489.2 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009126/1.129, allocations: 7.045 MB / 1.269 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.211/1.34, allocations: 151.2 MB / 1.417 GB, free: 2.617 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/1.342, allocations: 18.72 kB / 1.417 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/1.344, allocations: 262.1 kB / 1.417 GB, free: 2.383 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/1.348, allocations: 0.7709 MB / 1.418 GB, free: 1.777 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/1.352, allocations: 1.021 MB / 1.419 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004675/1.357, allocations: 2.098 MB / 1.421 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/1.36, allocations: 1.115 MB / 1.422 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/1.362, allocations: 0.8116 MB / 1.423 GB, free: 14.5 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/1.364, allocations: 0.8878 MB / 1.424 GB, free: 13.85 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000865/1.365, allocations: 218.9 kB / 1.424 GB, free: 13.85 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/1.368, allocations: 0.5759 MB / 1.425 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/1.37, allocations: 492.2 kB / 1.425 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003301/1.373, allocations: 0.97 MB / 1.426 GB, free: 12.56 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007763/1.381, allocations: 2.676 MB / 1.429 GB, free: 10.58 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.381, allocations: 1.5 kB / 1.429 GB, free: 10.58 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.254e-06/1.381, allocations: 0 / 1.429 GB, free: 10.58 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001476/1.381, allocations: 0 / 1.429 GB, free: 10.58 MB / 1.123 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.007087/1.388, allocations: 2.102 MB / 1.431 GB, free: 8.973 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.388, allocations: 9.375 kB / 1.431 GB, free: 8.973 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/1.39, allocations: 267.5 kB / 1.431 GB, free: 8.84 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/1.393, allocations: 1.003 MB / 1.432 GB, free: 8.023 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/1.393, allocations: 146.7 kB / 1.432 GB, free: 7.938 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004152/1.393, allocations: 149.1 kB / 1.432 GB, free: 7.891 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/1.398, allocations: 1.588 MB / 1.434 GB, free: 6.906 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/1.398, allocations: 1.375 kB / 1.434 GB, free: 6.906 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/1.398, allocations: 65.73 kB / 1.434 GB, free: 6.855 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/1.398, allocations: 38.5 kB / 1.434 GB, free: 6.855 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/1.401, allocations: 1.595 MB / 1.435 GB, free: 6.078 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/1.411, allocations: 4.991 MB / 1.44 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/1.414, allocations: 1.098 MB / 1.441 GB, free: 0.5117 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/1.415, allocations: 427.7 kB / 1.442 GB, free: 96 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/1.415, allocations: 49.08 kB / 1.442 GB, free: 48 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/1.416, allocations: 0.7001 MB / 1.443 GB, free: 15.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=111): time 4.308e-06/1.416, allocations: 0 / 1.443 GB, free: 15.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=111): time 0.00476/1.421, allocations: 1.657 MB / 1.444 GB, free: 13.64 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.421, allocations: 204.8 kB / 1.444 GB, free: 13.4 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.423, allocations: 0.8415 MB / 1.445 GB, free: 12.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.423, allocations: 45.7 kB / 1.445 GB, free: 12.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/1.424, allocations: 0.6337 MB / 1.446 GB, free: 11.86 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/1.424, allocations: 376.8 kB / 1.446 GB, free: 11.49 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/1.425, allocations: 222.8 kB / 1.446 GB, free: 11.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.425, allocations: 353.9 kB / 1.447 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/1.426, allocations: 394.4 kB / 1.447 GB, free: 10.53 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.427, allocations: 0.5111 MB / 1.448 GB, free: 10 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/1.429, allocations: 0.8916 MB / 1.448 GB, free: 9.098 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.429, allocations: 0 / 1.448 GB, free: 9.098 MB / 1.139 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003108/1.432, allocations: 1.212 MB / 1.45 GB, free: 7.875 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.432, allocations: 8 kB / 1.45 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.432, allocations: 8 kB / 1.45 GB, free: 7.859 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006926/1.433, allocations: 84.83 kB / 1.45 GB, free: 7.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.434, allocations: 231.6 kB / 1.45 GB, free: 7.547 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/1.437, allocations: 1.654 MB / 1.452 GB, free: 5.746 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.438, allocations: 135.2 kB / 1.452 GB, free: 5.613 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/1.438, allocations: 47.95 kB / 1.452 GB, free: 5.566 MB / 1.139 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.001151/1.439, allocations: 366.7 kB / 1.452 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/1.44, allocations: 119.2 kB / 1.452 GB, free: 5.082 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/1.444, allocations: 1.52 MB / 1.454 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/1.444, allocations: 12 kB / 1.454 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.444, allocations: 0 / 1.454 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.444, allocations: 11.91 kB / 1.454 GB, free: 3.52 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.447, allocations: 1.384 MB / 1.455 GB, free: 2.086 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.447, allocations: 8 kB / 1.455 GB, free: 2.078 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008716/1.448, allocations: 187.8 kB / 1.455 GB, free: 1.895 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/1.448, allocations: 76.72 kB / 1.455 GB, free: 1.816 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.448, allocations: 35.97 kB / 1.455 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/1.451, allocations: 1.674 MB / 1.457 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.451, allocations: 0 / 1.457 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/1.454, allocations: 1.289 MB / 1.458 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008713/1.455, allocations: 367.8 kB / 1.459 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/1.455, allocations: 31.95 kB / 1.459 GB, free: 14.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.456, allocations: 81.94 kB / 1.459 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.457, allocations: 97.17 kB / 1.459 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.457, allocations: 51.97 kB / 1.459 GB, free: 14.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001207/1.458, allocations: 0.6135 MB / 1.459 GB, free: 13.39 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.458, allocations: 0 / 1.459 GB, free: 13.39 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001761/1.46, allocations: 490.6 kB / 1.46 GB, free: 12.91 MB / 1.154 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.002296/1.462, allocations: 0.6163 MB / 1.461 GB, free: 12.48 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002938/1.465, allocations: 1.158 MB / 1.462 GB, free: 11.31 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.465, allocations: 0 / 1.462 GB, free: 11.31 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.467, allocations: 0.6857 MB / 1.462 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.469, allocations: 354 kB / 1.463 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/1.474, allocations: 2.564 MB / 1.465 GB, free: 7.68 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.476, allocations: 1.218 MB / 1.466 GB, free: 6.43 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/1.476, allocations: 163.3 kB / 1.467 GB, free: 6.27 MB / 1.154 GB Notification: Performance of SimCode: time 8.72e-07/1.476, allocations: 0 / 1.467 GB, free: 6.27 MB / 1.154 GB Notification: Performance of Templates: time 0.04543/1.522, allocations: 27.45 MB / 1.493 GB, free: 10.9 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.413535632193089]