Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001407/0.001407, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001656/0.001656, allocations: 186 kB / 20.78 MB, free: 1.547 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.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 63.91 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009895/0.3635, allocations: 7.14 MB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9502/1.314, allocations: 151.7 MB / 1.371 GB, free: 152 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/1.315, allocations: 21.97 kB / 1.371 GB, free: 144 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/1.316, allocations: 266.3 kB / 1.372 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/1.32, allocations: 0.7799 MB / 1.372 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003011/1.323, allocations: 1.033 MB / 1.373 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003699/1.327, allocations: 2.093 MB / 1.375 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/1.328, allocations: 0.7637 MB / 1.376 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/1.33, allocations: 0.8239 MB / 1.377 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/1.331, allocations: 0.8833 MB / 1.378 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/1.332, allocations: 226 kB / 1.378 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/1.333, allocations: 0.5748 MB / 1.379 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/1.334, allocations: 497.6 kB / 1.379 GB, free: 12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/1.335, allocations: 0.9676 MB / 1.38 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/1.34, allocations: 2.675 MB / 1.383 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.34, allocations: 1.062 kB / 1.383 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.34, allocations: 0 / 1.383 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.193e-05/1.34, allocations: 3.938 kB / 1.383 GB, free: 10.06 MB / 1.061 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.005674/1.345, allocations: 2.091 MB / 1.385 GB, free: 8.461 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/1.345, allocations: 9.906 kB / 1.385 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/1.347, allocations: 275.8 kB / 1.385 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/1.349, allocations: 0.9949 MB / 1.386 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/1.35, allocations: 142.1 kB / 1.386 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/1.35, allocations: 157 kB / 1.386 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/1.353, allocations: 1.585 MB / 1.388 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/1.353, allocations: 3.938 kB / 1.388 GB, free: 6.391 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/1.353, allocations: 67.22 kB / 1.388 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/1.354, allocations: 41.91 kB / 1.388 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/1.357, allocations: 1.591 MB / 1.389 GB, free: 5.562 MB / 1.061 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.00894/1.366, allocations: 4.702 MB / 1.394 GB, free: 1.793 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/1.368, allocations: 1.033 MB / 1.395 GB, free: 1.262 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/1.369, allocations: 391.9 kB / 1.395 GB, free: 1.055 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/1.369, allocations: 42.95 kB / 1.395 GB, free: 1.027 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/1.37, allocations: 0.7005 MB / 1.396 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of pre-optimization done (n=111): time 3.146e-06/1.37, allocations: 0 / 1.396 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of matching and sorting (n=111): time 0.004635/1.375, allocations: 1.662 MB / 1.398 GB, free: 15.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.375, allocations: 198 kB / 1.398 GB, free: 15.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.376, allocations: 0.8389 MB / 1.399 GB, free: 15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.377, allocations: 52.27 kB / 1.399 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000692/1.377, allocations: 0.628 MB / 1.399 GB, free: 14.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/1.378, allocations: 381.4 kB / 1.4 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.378, allocations: 222.3 kB / 1.4 GB, free: 13.93 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.378, allocations: 348.5 kB / 1.4 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/1.379, allocations: 401 kB / 1.401 GB, free: 13.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/1.38, allocations: 0.52 MB / 1.401 GB, free: 13.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/1.382, allocations: 0.8904 MB / 1.402 GB, free: 12.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.382, allocations: 0 / 1.402 GB, free: 12.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002891/1.384, allocations: 1.212 MB / 1.403 GB, free: 11.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.385, allocations: 7.656 kB / 1.403 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.385, allocations: 3.938 kB / 1.403 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/1.385, allocations: 86.55 kB / 1.403 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/1.386, allocations: 229.7 kB / 1.403 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/1.389, allocations: 1.643 MB / 1.405 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.39, allocations: 132.5 kB / 1.405 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.39, allocations: 56.92 kB / 1.405 GB, free: 10.15 MB / 1.076 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.0009111/1.391, allocations: 351.5 kB / 1.406 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/1.392, allocations: 118.3 kB / 1.406 GB, free: 9.832 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/1.395, allocations: 1.532 MB / 1.407 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.395, allocations: 12.38 kB / 1.407 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.395, allocations: 0.625 kB / 1.407 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.395, allocations: 7.969 kB / 1.407 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/1.397, allocations: 1.375 MB / 1.409 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.397, allocations: 0 / 1.409 GB, free: 7.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/1.398, allocations: 198.8 kB / 1.409 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/1.399, allocations: 70.66 kB / 1.409 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/1.399, allocations: 34.44 kB / 1.409 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/1.401, allocations: 1.679 MB / 1.411 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.401, allocations: 0 / 1.411 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/1.404, allocations: 1.283 MB / 1.412 GB, free: 5.543 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/1.404, allocations: 367.1 kB / 1.412 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.405, allocations: 29.56 kB / 1.412 GB, free: 5.207 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/1.406, allocations: 86.59 kB / 1.412 GB, free: 5.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.406, allocations: 97.55 kB / 1.412 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.406, allocations: 50 kB / 1.412 GB, free: 5.094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001145/1.407, allocations: 0.6237 MB / 1.413 GB, free: 4.727 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.407, allocations: 0 / 1.413 GB, free: 4.727 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001804/1.409, allocations: 482.1 kB / 1.413 GB, free: 4.586 MB / 1.076 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.002235/1.411, allocations: 0.6183 MB / 1.414 GB, free: 4.289 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002613/1.414, allocations: 1.103 MB / 1.415 GB, free: 3.285 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.414, allocations: 0 / 1.415 GB, free: 3.285 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.415, allocations: 0.6504 MB / 1.416 GB, free: 2.621 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/1.417, allocations: 353.5 kB / 1.416 GB, free: 2.293 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/1.422, allocations: 2.51 MB / 1.419 GB, free: 15.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.423, allocations: 1.224 MB / 1.42 GB, free: 14.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001213/1.424, allocations: 313.2 kB / 1.42 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/1.424, allocations: 147.3 kB / 1.42 GB, free: 14.04 MB / 1.092 GB Notification: Performance of SimCode: time 1.262e-06/1.424, allocations: 3.938 kB / 1.42 GB, free: 14.04 MB / 1.092 GB Notification: Performance of Templates: time 0.04442/1.469, allocations: 21.36 MB / 1.441 GB, free: 8.887 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.378538195975125]