Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008328/0.008328, allocations: 99.53 kB / 15.73 MB, free: 6.004 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.00195/0.00195, allocations: 188.8 kB / 16.67 MB, free: 5.926 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009897/0.3526, allocations: 8.224 MB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.045/1.398, allocations: 160 MB / 1.385 GB, free: 2.387 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/1.4, allocations: 37.78 kB / 1.385 GB, free: 2.375 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/1.406, allocations: 2.015 MB / 1.387 GB, free: 1.023 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/1.41, allocations: 1.302 MB / 1.388 GB, free: 36 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/1.414, allocations: 1.439 MB / 1.39 GB, free: 14.94 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008178/1.422, allocations: 5.399 MB / 1.395 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.424, allocations: 0.7863 MB / 1.396 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/1.428, allocations: 1.701 MB / 1.397 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/1.431, allocations: 1.475 MB / 1.399 GB, free: 9.082 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008724/1.432, allocations: 283.4 kB / 1.399 GB, free: 9.078 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/1.437, allocations: 2.375 MB / 1.401 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002827/1.44, allocations: 2.822 MB / 1.404 GB, free: 6.617 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/1.442, allocations: 1.402 MB / 1.405 GB, free: 5.598 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.452, allocations: 5.211 MB / 1.41 GB, free: 2.117 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/1.452, allocations: 0 / 1.41 GB, free: 2.117 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.522e-06/1.452, allocations: 0 / 1.41 GB, free: 2.117 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001448/1.453, allocations: 0 / 1.41 GB, free: 2.117 MB / 1.092 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.007489/1.46, allocations: 3.482 MB / 1.414 GB, free: 15.3 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.46, allocations: 12.03 kB / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/1.461, allocations: 374.9 kB / 1.414 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008854/1.47, allocations: 7.464 MB / 1.422 GB, free: 7.383 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.47, allocations: 138.9 kB / 1.422 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/1.471, allocations: 188 kB / 1.422 GB, free: 7.062 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/1.474, allocations: 1.966 MB / 1.424 GB, free: 5.02 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/1.474, allocations: 3.938 kB / 1.424 GB, free: 5.016 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.474, allocations: 60 kB / 1.424 GB, free: 4.957 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/1.474, allocations: 36 kB / 1.424 GB, free: 4.922 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/1.477, allocations: 1.987 MB / 1.426 GB, free: 2.93 MB / 1.107 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.0129/1.49, allocations: 10.6 MB / 1.436 GB, free: 8.109 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/1.493, allocations: 1.576 MB / 1.438 GB, free: 6.523 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.494, allocations: 0.9038 MB / 1.439 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.809e-05/1.494, allocations: 37.09 kB / 1.439 GB, free: 5.586 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/1.496, allocations: 1.199 MB / 1.44 GB, free: 4.367 MB / 1.123 GB Notification: Performance of pre-optimization done (n=117): time 2.465e-06/1.496, allocations: 3 kB / 1.44 GB, free: 4.367 MB / 1.123 GB Notification: Performance of matching and sorting (n=117): time 0.006347/1.502, allocations: 3.495 MB / 1.443 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002353/1.502, allocations: 342.5 kB / 1.444 GB, free: 460 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01439/1.517, allocations: 11.58 MB / 1.455 GB, free: 4.832 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006229/1.517, allocations: 65.7 kB / 1.455 GB, free: 4.762 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.518, allocations: 0.982 MB / 1.456 GB, free: 3.77 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/1.519, allocations: 420.5 kB / 1.456 GB, free: 3.355 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002428/1.521, allocations: 2.72 MB / 1.459 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.522, allocations: 309.1 kB / 1.459 GB, free: 324 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01942/1.541, allocations: 20.11 MB / 1.479 GB, free: 12.2 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02097/1.562, allocations: 20.7 MB / 1.499 GB, free: 7.441 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0252/1.587, allocations: 23.57 MB / 1.522 GB, free: 15.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/1.587, allocations: 0 / 1.522 GB, free: 15.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.04745/1.635, allocations: 44.27 MB / 1.565 GB, free: 3.32 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/1.635, allocations: 173.6 kB / 1.566 GB, free: 3.145 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.635, allocations: 0 / 1.566 GB, free: 3.145 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006862/1.636, allocations: 92.77 kB / 1.566 GB, free: 3.051 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.638, allocations: 403.4 kB / 1.566 GB, free: 2.656 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.64, allocations: 1.645 MB / 1.568 GB, free: 0.8711 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/1.642, allocations: 243.1 kB / 1.568 GB, free: 0.6328 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/1.643, allocations: 104 kB / 1.568 GB, free: 0.5312 MB / 1.248 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.001967/1.645, allocations: 1.548 MB / 1.569 GB, free: 14.97 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/1.645, allocations: 230.4 kB / 1.57 GB, free: 14.74 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/1.65, allocations: 2.962 MB / 1.573 GB, free: 11.77 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.65, allocations: 12 kB / 1.573 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.65, allocations: 0 / 1.573 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.65, allocations: 7.922 kB / 1.573 GB, free: 11.75 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.652, allocations: 1.794 MB / 1.574 GB, free: 9.898 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.652, allocations: 3.938 kB / 1.574 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/1.653, allocations: 183.8 kB / 1.574 GB, free: 9.715 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/1.654, allocations: 68.8 kB / 1.575 GB, free: 9.645 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/1.654, allocations: 39.97 kB / 1.575 GB, free: 9.605 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.656, allocations: 1.67 MB / 1.576 GB, free: 7.781 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.656, allocations: 0 / 1.576 GB, free: 7.781 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.66, allocations: 2.821 MB / 1.579 GB, free: 4.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.661, allocations: 499.2 kB / 1.579 GB, free: 4.422 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.661, allocations: 35.89 kB / 1.579 GB, free: 4.387 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/1.662, allocations: 78.27 kB / 1.58 GB, free: 4.312 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.662, allocations: 92.88 kB / 1.58 GB, free: 4.223 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.662, allocations: 59.97 kB / 1.58 GB, free: 4.164 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.006786/1.669, allocations: 7.265 MB / 1.587 GB, free: 12.88 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.31e-07/1.669, allocations: 0 / 1.587 GB, free: 12.88 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004062/1.673, allocations: 1.4 MB / 1.588 GB, free: 11.48 MB / 1.279 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.002752/1.676, allocations: 0.9728 MB / 1.589 GB, free: 10.68 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02175/1.698, allocations: 22.02 MB / 1.611 GB, free: 4.629 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.698, allocations: 0 / 1.611 GB, free: 4.629 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/1.7, allocations: 1.542 MB / 1.612 GB, free: 3.059 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.702, allocations: 451.7 kB / 1.613 GB, free: 2.637 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.717, allocations: 11.29 MB / 1.624 GB, free: 7.289 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/1.72, allocations: 3.009 MB / 1.627 GB, free: 4.25 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001751/1.722, allocations: 0.5146 MB / 1.627 GB, free: 3.73 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/1.722, allocations: 195.4 kB / 1.627 GB, free: 3.539 MB / 1.311 GB Notification: Performance of SimCode: time 1.022e-06/1.722, allocations: 0 / 1.627 GB, free: 3.539 MB / 1.311 GB Notification: Performance of Templates: time 0.08691/1.809, allocations: 49.2 MB / 1.675 GB, free: 2.57 MB / 1.357 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches