Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005913/0.005913, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001153/0.001153, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.791/2.791, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3299, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00866/0.3386, allocations: 6.978 MB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.004/1.343, allocations: 155.8 MB / 1.38 GB, free: 6.227 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.344, allocations: 28.69 kB / 1.38 GB, free: 6.219 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006214/1.351, allocations: 1.819 MB / 1.381 GB, free: 5.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003637/1.354, allocations: 0.9047 MB / 1.382 GB, free: 4.801 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/1.357, allocations: 0.998 MB / 1.383 GB, free: 4.035 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004382/1.362, allocations: 2.572 MB / 1.386 GB, free: 2.469 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.363, allocations: 0.6456 MB / 1.386 GB, free: 1.996 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/1.366, allocations: 0.9111 MB / 1.387 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/1.368, allocations: 0.9226 MB / 1.388 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008582/1.369, allocations: 184.5 kB / 1.388 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005796/1.375, allocations: 2.272 MB / 1.391 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.376, allocations: 1.153 MB / 1.392 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/1.379, allocations: 0.9429 MB / 1.393 GB, free: 14.36 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007334/1.386, allocations: 3.794 MB / 1.396 GB, free: 11.82 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.386, allocations: 0 / 1.396 GB, free: 11.82 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.003e-06/1.386, allocations: 0 / 1.396 GB, free: 11.82 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.606e-05/1.386, allocations: 1.094 kB / 1.396 GB, free: 11.82 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005811/1.392, allocations: 2.458 MB / 1.399 GB, free: 9.953 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.392, allocations: 8.25 kB / 1.399 GB, free: 9.953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.393, allocations: 275.6 kB / 1.399 GB, free: 9.816 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/1.397, allocations: 2.948 MB / 1.402 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.079e-05/1.397, allocations: 102.2 kB / 1.402 GB, free: 8.293 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.397, allocations: 127.4 kB / 1.402 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.399, allocations: 1.363 MB / 1.403 GB, free: 7.406 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.399, allocations: 3.938 kB / 1.403 GB, free: 7.402 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.399, allocations: 52 kB / 1.403 GB, free: 7.363 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/1.399, allocations: 32.75 kB / 1.404 GB, free: 7.363 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/1.402, allocations: 1.5 MB / 1.405 GB, free: 6.664 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.007686/1.409, allocations: 5.573 MB / 1.41 GB, free: 2.594 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/1.411, allocations: 1.061 MB / 1.411 GB, free: 1.523 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/1.412, allocations: 408 kB / 1.412 GB, free: 1.129 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/1.412, allocations: 41.09 kB / 1.412 GB, free: 1.09 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.413, allocations: 0.651 MB / 1.413 GB, free: 432 kB / 1.092 GB Notification: Performance of pre-optimization done (n=100): time 2.614e-06/1.413, allocations: 4 kB / 1.413 GB, free: 428 kB / 1.092 GB Notification: Performance of matching and sorting (n=100): time 0.004101/1.417, allocations: 1.661 MB / 1.414 GB, free: 14.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.417, allocations: 196.9 kB / 1.414 GB, free: 14.49 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/1.422, allocations: 4.102 MB / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.422, allocations: 49.7 kB / 1.418 GB, free: 10.33 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/1.423, allocations: 0.6776 MB / 1.419 GB, free: 9.645 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/1.423, allocations: 337.1 kB / 1.419 GB, free: 9.312 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008722/1.424, allocations: 0.9721 MB / 1.42 GB, free: 8.332 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/1.424, allocations: 302.3 kB / 1.421 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005598/1.43, allocations: 6.339 MB / 1.427 GB, free: 1.691 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/1.436, allocations: 6.585 MB / 1.433 GB, free: 11.09 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007268/1.443, allocations: 7.463 MB / 1.441 GB, free: 3.578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.443, allocations: 0 / 1.441 GB, free: 3.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01515/1.458, allocations: 14.17 MB / 1.454 GB, free: 5.344 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.458, allocations: 4 kB / 1.454 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.458, allocations: 0 / 1.454 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/1.459, allocations: 93.7 kB / 1.454 GB, free: 5.246 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.46, allocations: 247.7 kB / 1.455 GB, free: 5.004 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/1.462, allocations: 1.644 MB / 1.456 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.463, allocations: 139.1 kB / 1.456 GB, free: 3.082 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/1.464, allocations: 59.97 kB / 1.456 GB, free: 3.023 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: 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 (159): * Single equations (assignments): 145 * Array equations: 13 * 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.001005/1.465, allocations: 0.6252 MB / 1.457 GB, free: 2.391 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/1.465, allocations: 147.2 kB / 1.457 GB, free: 2.246 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/1.468, allocations: 1.469 MB / 1.459 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.468, allocations: 8 kB / 1.459 GB, free: 0.7617 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.468, allocations: 4 kB / 1.459 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.468, allocations: 11.92 kB / 1.459 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/1.471, allocations: 1.3 MB / 1.46 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.471, allocations: 3.938 kB / 1.46 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.472, allocations: 183.8 kB / 1.46 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.472, allocations: 68.8 kB / 1.46 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/1.472, allocations: 35.97 kB / 1.46 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.474, allocations: 1.662 MB / 1.462 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.474, allocations: 0 / 1.462 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/1.477, allocations: 1.283 MB / 1.463 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/1.478, allocations: 363.7 kB / 1.463 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/1.478, allocations: 27.98 kB / 1.463 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/1.479, allocations: 65.97 kB / 1.464 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.479, allocations: 88.88 kB / 1.464 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/1.479, allocations: 47.97 kB / 1.464 GB, free: 11.38 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002737/1.482, allocations: 2.642 MB / 1.466 GB, free: 8.738 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.482, allocations: 0 / 1.466 GB, free: 8.738 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003058/1.485, allocations: 1.025 MB / 1.467 GB, free: 7.711 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: 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.003479/1.488, allocations: 0.9738 MB / 1.468 GB, free: 6.914 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007831/1.496, allocations: 7.084 MB / 1.475 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.496, allocations: 4.062 kB / 1.475 GB, free: 15.81 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.497, allocations: 0.6289 MB / 1.476 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.499, allocations: 372.1 kB / 1.476 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.512, allocations: 4.898 MB / 1.481 GB, free: 9.891 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/1.515, allocations: 1.718 MB / 1.483 GB, free: 8.141 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002745/1.518, allocations: 394.3 kB / 1.483 GB, free: 7.75 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/1.519, allocations: 151.4 kB / 1.483 GB, free: 7.602 MB / 1.17 GB Notification: Performance of SimCode: time 2.755e-06/1.519, allocations: 0 / 1.483 GB, free: 7.602 MB / 1.17 GB Notification: Performance of Templates: time 0.1057/1.624, allocations: 30.56 MB / 1.513 GB, free: 9.227 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches