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.00129/0.00129, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00162/0.00162, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.479/1.479, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001993/0.001993, allocations: 55.91 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.9806, allocations: 160.8 MB / 1.218 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01397/0.9945, allocations: 8.339 MB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2106/1.205, allocations: 160.1 MB / 1.383 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/1.207, allocations: 51.56 kB / 1.383 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005671/1.213, allocations: 2.19 MB / 1.385 GB, free: 11.94 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/1.217, allocations: 1.302 MB / 1.386 GB, free: 10.63 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/1.221, allocations: 1.538 MB / 1.388 GB, free: 9.102 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008099/1.229, allocations: 5.875 MB / 1.394 GB, free: 3.211 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/1.231, allocations: 0.75 MB / 1.394 GB, free: 2.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/1.234, allocations: 1.726 MB / 1.396 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/1.237, allocations: 1.631 MB / 1.398 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005444/1.238, allocations: 276 kB / 1.398 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/1.243, allocations: 2.84 MB / 1.401 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003074/1.246, allocations: 2.843 MB / 1.404 GB, free: 9.082 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/1.248, allocations: 1.403 MB / 1.405 GB, free: 7.672 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009953/1.258, allocations: 5.267 MB / 1.41 GB, free: 2.387 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.258, allocations: 0 / 1.41 GB, free: 2.387 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.258, allocations: 0 / 1.41 GB, free: 2.387 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.102e-05/1.258, allocations: 0 / 1.41 GB, free: 2.387 MB / 1.107 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.007677/1.266, allocations: 3.489 MB / 1.413 GB, free: 14.82 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/1.266, allocations: 8.031 kB / 1.413 GB, free: 14.81 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.267, allocations: 382.9 kB / 1.414 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/1.278, allocations: 7.454 MB / 1.421 GB, free: 6.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.278, allocations: 138.9 kB / 1.421 GB, free: 6.773 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/1.278, allocations: 184 kB / 1.421 GB, free: 6.594 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/1.282, allocations: 1.972 MB / 1.423 GB, free: 4.543 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/1.282, allocations: 0 / 1.423 GB, free: 4.543 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.282, allocations: 60 kB / 1.423 GB, free: 4.484 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/1.282, allocations: 36 kB / 1.423 GB, free: 4.449 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/1.286, allocations: 1.99 MB / 1.425 GB, free: 2.453 MB / 1.123 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.01697/1.303, allocations: 10.61 MB / 1.436 GB, free: 7.621 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/1.306, allocations: 1.585 MB / 1.437 GB, free: 6.035 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/1.307, allocations: 0.8979 MB / 1.438 GB, free: 5.133 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/1.308, allocations: 41.09 kB / 1.438 GB, free: 5.094 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001884/1.309, allocations: 1.192 MB / 1.439 GB, free: 3.883 MB / 1.139 GB Notification: Performance of pre-optimization done (n=117): time 2.425e-06/1.309, allocations: 4 kB / 1.439 GB, free: 3.879 MB / 1.139 GB Notification: Performance of matching and sorting (n=117): time 0.007056/1.316, allocations: 3.499 MB / 1.443 GB, free: 352 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002923/1.317, allocations: 338.5 kB / 1.443 GB, free: 15.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0187/1.335, allocations: 11.58 MB / 1.454 GB, free: 4.348 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005185/1.336, allocations: 65.7 kB / 1.454 GB, free: 4.277 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.337, allocations: 0.9741 MB / 1.455 GB, free: 3.293 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/1.338, allocations: 424.5 kB / 1.456 GB, free: 2.875 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003266/1.341, allocations: 2.724 MB / 1.458 GB, free: 140 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.341, allocations: 301.1 kB / 1.459 GB, free: 15.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0238/1.365, allocations: 20.11 MB / 1.478 GB, free: 11.72 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0251/1.39, allocations: 20.7 MB / 1.499 GB, free: 6.969 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0269/1.417, allocations: 23.7 MB / 1.522 GB, free: 15.13 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/1.417, allocations: 0 / 1.522 GB, free: 15.13 MB / 1.232 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05328/1.47, allocations: 44.53 MB / 1.565 GB, free: 2.461 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002991/1.471, allocations: 165.9 kB / 1.565 GB, free: 2.293 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.471, allocations: 8 kB / 1.565 GB, free: 2.285 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/1.471, allocations: 88.72 kB / 1.566 GB, free: 2.195 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.473, allocations: 403.4 kB / 1.566 GB, free: 1.801 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/1.476, allocations: 1.638 MB / 1.568 GB, free: 12 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.478, allocations: 252.5 kB / 1.568 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/1.478, allocations: 107.9 kB / 1.568 GB, free: 15.66 MB / 1.279 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.002157/1.481, allocations: 1.544 MB / 1.569 GB, free: 14.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/1.481, allocations: 222.3 kB / 1.57 GB, free: 13.88 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/1.486, allocations: 2.972 MB / 1.572 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.486, allocations: 12 kB / 1.572 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.486, allocations: 0 / 1.572 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.486, allocations: 11.91 kB / 1.572 GB, free: 10.86 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/1.489, allocations: 1.794 MB / 1.574 GB, free: 9.016 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.489, allocations: 0 / 1.574 GB, free: 9.016 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/1.49, allocations: 187.7 kB / 1.574 GB, free: 8.832 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/1.49, allocations: 68.78 kB / 1.574 GB, free: 8.762 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.49, allocations: 43.97 kB / 1.575 GB, free: 8.719 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/1.493, allocations: 1.662 MB / 1.576 GB, free: 6.91 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.493, allocations: 3.938 kB / 1.576 GB, free: 6.906 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.498, allocations: 2.798 MB / 1.579 GB, free: 4.074 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.499, allocations: 0.4952 MB / 1.579 GB, free: 3.559 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.499, allocations: 32 kB / 1.579 GB, free: 3.527 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/1.5, allocations: 75.98 kB / 1.579 GB, free: 3.453 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/1.5, allocations: 108.8 kB / 1.58 GB, free: 3.348 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.5, allocations: 59.95 kB / 1.58 GB, free: 3.289 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008094/1.509, allocations: 7.265 MB / 1.587 GB, free: 12.01 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.509, allocations: 4 kB / 1.587 GB, free: 12 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004359/1.513, allocations: 1.396 MB / 1.588 GB, free: 10.61 MB / 1.295 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.003234/1.516, allocations: 0.9727 MB / 1.589 GB, free: 9.801 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.7069/2.223, allocations: 22.02 MB / 1.611 GB, free: 370.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/2.223, allocations: 6.188 kB / 1.611 GB, free: 370.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/2.226, allocations: 1.53 MB / 1.612 GB, free: 370.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/2.228, allocations: 441.6 kB / 1.612 GB, free: 370 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/2.241, allocations: 11.51 MB / 1.624 GB, free: 362.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/2.243, allocations: 3.005 MB / 1.627 GB, free: 360.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001451/2.244, allocations: 0.5149 MB / 1.627 GB, free: 359.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/2.245, allocations: 193.4 kB / 1.627 GB, free: 359.6 MB / 1.295 GB Notification: Performance of SimCode: time 8.51e-07/2.245, allocations: 0 / 1.627 GB, free: 359.6 MB / 1.295 GB Notification: Performance of Templates: time 0.07127/2.316, allocations: 49.99 MB / 1.676 GB, free: 310.2 MB / 1.295 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.649985598400235]