Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001547/0.001547, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001605/0.001605, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.621/2.621, allocations: 443.5 MB / 0.7304 GB, free: 13.88 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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 67.89 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.368, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01174/0.3797, allocations: 8.312 MB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8564/1.236, allocations: 160.1 MB / 1.381 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.238, allocations: 39.16 kB / 1.381 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006467/1.245, allocations: 2.013 MB / 1.383 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004315/1.249, allocations: 1.3 MB / 1.384 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/1.253, allocations: 1.467 MB / 1.385 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007544/1.261, allocations: 5.39 MB / 1.391 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/1.263, allocations: 0.7595 MB / 1.391 GB, free: 3.402 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/1.266, allocations: 1.701 MB / 1.393 GB, free: 2.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/1.27, allocations: 1.615 MB / 1.395 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001197/1.271, allocations: 276.3 kB / 1.395 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006177/1.277, allocations: 2.43 MB / 1.397 GB, free: 124 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003594/1.281, allocations: 2.842 MB / 1.4 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003116/1.284, allocations: 1.407 MB / 1.401 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01164/1.295, allocations: 5.201 MB / 1.406 GB, free: 10.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.295, allocations: 0 / 1.406 GB, free: 10.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.495e-06/1.295, allocations: 4 kB / 1.406 GB, free: 10.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001855/1.296, allocations: 2.344 kB / 1.406 GB, free: 10.32 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.009729/1.305, allocations: 3.487 MB / 1.41 GB, free: 7.758 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.305, allocations: 9.812 kB / 1.41 GB, free: 7.758 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/1.307, allocations: 378 kB / 1.41 GB, free: 7.562 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009994/1.317, allocations: 7.46 MB / 1.418 GB, free: 1.637 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/1.317, allocations: 142.9 kB / 1.418 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006607/1.318, allocations: 184 kB / 1.418 GB, free: 1.316 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004703/1.323, allocations: 1.964 MB / 1.42 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.323, allocations: 3.984 kB / 1.42 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/1.323, allocations: 64 kB / 1.42 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/1.323, allocations: 36 kB / 1.42 GB, free: 15.17 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/1.327, allocations: 1.982 MB / 1.422 GB, free: 13.18 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.01755/1.344, allocations: 10.61 MB / 1.432 GB, free: 2.355 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/1.348, allocations: 1.583 MB / 1.434 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/1.349, allocations: 0.8979 MB / 1.435 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/1.349, allocations: 45.08 kB / 1.435 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/1.351, allocations: 1.188 MB / 1.436 GB, free: 14.62 MB / 1.107 GB Notification: Performance of pre-optimization done (n=117): time 3.407e-06/1.351, allocations: 0 / 1.436 GB, free: 14.62 MB / 1.107 GB Notification: Performance of matching and sorting (n=117): time 0.00725/1.359, allocations: 3.495 MB / 1.439 GB, free: 11.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/1.359, allocations: 338.5 kB / 1.439 GB, free: 10.7 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01666/1.376, allocations: 11.59 MB / 1.451 GB, free: 15.08 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004755/1.376, allocations: 65.7 kB / 1.451 GB, free: 15.01 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/1.377, allocations: 0.9819 MB / 1.452 GB, free: 14.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007183/1.378, allocations: 416.6 kB / 1.452 GB, free: 13.61 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003632/1.382, allocations: 2.728 MB / 1.455 GB, free: 10.86 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.382, allocations: 301.1 kB / 1.455 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02207/1.404, allocations: 20.12 MB / 1.475 GB, free: 6.441 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02374/1.428, allocations: 20.7 MB / 1.495 GB, free: 1.691 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02645/1.454, allocations: 23.57 MB / 1.518 GB, free: 9.992 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/1.454, allocations: 2.312 kB / 1.518 GB, free: 9.992 MB / 1.186 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05101/1.505, allocations: 44.28 MB / 1.561 GB, free: 13.56 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000306/1.506, allocations: 167.6 kB / 1.561 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.506, allocations: 4 kB / 1.561 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/1.506, allocations: 93.08 kB / 1.562 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.508, allocations: 399.3 kB / 1.562 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/1.511, allocations: 1.652 MB / 1.564 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.513, allocations: 250.2 kB / 1.564 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/1.513, allocations: 106.5 kB / 1.564 GB, free: 10.77 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 238 * Array equations: 39 * Algorithm blocks: 1 * 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.002091/1.515, allocations: 1.548 MB / 1.565 GB, free: 9.203 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/1.516, allocations: 218.5 kB / 1.566 GB, free: 8.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/1.521, allocations: 2.971 MB / 1.569 GB, free: 6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.521, allocations: 12 kB / 1.569 GB, free: 5.988 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.521, allocations: 4 kB / 1.569 GB, free: 5.984 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.521, allocations: 7.984 kB / 1.569 GB, free: 5.977 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/1.523, allocations: 1.79 MB / 1.57 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.524, allocations: 0 / 1.57 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/1.524, allocations: 183.7 kB / 1.57 GB, free: 3.953 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/1.525, allocations: 68.8 kB / 1.571 GB, free: 3.883 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.525, allocations: 47.95 kB / 1.571 GB, free: 3.836 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/1.527, allocations: 1.666 MB / 1.572 GB, free: 2.02 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.527, allocations: 0 / 1.572 GB, free: 2.02 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/1.532, allocations: 2.813 MB / 1.575 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.533, allocations: 499.2 kB / 1.575 GB, free: 14.67 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003954/1.534, allocations: 31.94 kB / 1.575 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/1.535, allocations: 71.92 kB / 1.576 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.535, allocations: 100.9 kB / 1.576 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.535, allocations: 55.97 kB / 1.576 GB, free: 14.42 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007698/1.543, allocations: 7.265 MB / 1.583 GB, free: 7.137 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.61e-07/1.543, allocations: 0 / 1.583 GB, free: 7.137 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003817/1.546, allocations: 1.4 MB / 1.584 GB, free: 5.734 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.003059/1.549, allocations: 0.9703 MB / 1.585 GB, free: 4.941 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02386/1.573, allocations: 22.02 MB / 1.607 GB, free: 14.89 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.573, allocations: 4 kB / 1.607 GB, free: 14.88 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/1.576, allocations: 1.535 MB / 1.608 GB, free: 13.32 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.578, allocations: 458.1 kB / 1.609 GB, free: 12.89 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.595, allocations: 11.49 MB / 1.62 GB, free: 1.348 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/1.598, allocations: 3.006 MB / 1.623 GB, free: 14.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001833/1.6, allocations: 0.5185 MB / 1.623 GB, free: 13.78 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/1.601, allocations: 195.4 kB / 1.623 GB, free: 13.59 MB / 1.295 GB Notification: Performance of SimCode: time 1.162e-06/1.601, allocations: 0 / 1.623 GB, free: 13.59 MB / 1.295 GB Notification: Performance of Templates: time 0.09503/1.696, allocations: 49.63 MB / 1.672 GB, free: 12.2 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 11.034848320297897]