Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006557/0.006557, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001549/0.001549, allocations: 190 kB / 16.67 MB, free: 6.379 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.36 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3291, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.007988/0.3372, allocations: 6.961 MB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9392/1.276, allocations: 155.4 MB / 1.366 GB, free: 4.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.278, allocations: 24.97 kB / 1.366 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005076/1.283, allocations: 1.811 MB / 1.368 GB, free: 3.848 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003159/1.286, allocations: 0.8858 MB / 1.369 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.289, allocations: 0.9933 MB / 1.37 GB, free: 2.789 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003557/1.292, allocations: 2.582 MB / 1.372 GB, free: 1.531 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.294, allocations: 0.9463 MB / 1.373 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/1.296, allocations: 0.9025 MB / 1.374 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/1.297, allocations: 0.9392 MB / 1.375 GB, free: 16 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/1.298, allocations: 183.8 kB / 1.375 GB, free: 16 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004609/1.302, allocations: 2.264 MB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.303, allocations: 1.152 MB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/1.305, allocations: 0.9444 MB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007475/1.313, allocations: 3.774 MB / 1.383 GB, free: 11.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.313, allocations: 1.281 kB / 1.383 GB, free: 11.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/1.313, allocations: 0 / 1.383 GB, free: 11.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.921e-05/1.313, allocations: 0 / 1.383 GB, free: 11.04 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00491/1.318, allocations: 2.379 MB / 1.386 GB, free: 9.258 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.318, allocations: 10.44 kB / 1.386 GB, free: 9.258 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.319, allocations: 265.8 kB / 1.386 GB, free: 9.129 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/1.323, allocations: 2.924 MB / 1.389 GB, free: 7.672 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/1.323, allocations: 108.9 kB / 1.389 GB, free: 7.621 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.323, allocations: 129.9 kB / 1.389 GB, free: 7.578 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/1.325, allocations: 1.361 MB / 1.39 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/1.325, allocations: 7.938 kB / 1.39 GB, free: 6.727 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.326, allocations: 52.56 kB / 1.39 GB, free: 6.688 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/1.326, allocations: 33.53 kB / 1.39 GB, free: 6.688 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/1.328, allocations: 1.499 MB / 1.392 GB, free: 5.988 MB / 1.076 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.008737/1.337, allocations: 5.556 MB / 1.397 GB, free: 2.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/1.339, allocations: 1.119 MB / 1.398 GB, free: 1.812 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/1.34, allocations: 441.7 kB / 1.399 GB, free: 1.609 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.776e-05/1.34, allocations: 36.12 kB / 1.399 GB, free: 1.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.341, allocations: 0.6654 MB / 1.399 GB, free: 1.184 MB / 1.076 GB Notification: Performance of pre-optimization done (n=100): time 2.554e-06/1.341, allocations: 0 / 1.399 GB, free: 1.184 MB / 1.076 GB Notification: Performance of matching and sorting (n=100): time 0.00408/1.345, allocations: 1.655 MB / 1.401 GB, free: 356 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.345, allocations: 202.2 kB / 1.401 GB, free: 120 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/1.35, allocations: 4.1 MB / 1.405 GB, free: 12.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/1.35, allocations: 45.7 kB / 1.405 GB, free: 12.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005951/1.351, allocations: 0.6569 MB / 1.406 GB, free: 11.35 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/1.351, allocations: 327.3 kB / 1.406 GB, free: 11.03 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008868/1.352, allocations: 0.9586 MB / 1.407 GB, free: 10.06 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/1.352, allocations: 305.1 kB / 1.407 GB, free: 9.758 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/1.358, allocations: 6.335 MB / 1.414 GB, free: 3.418 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006611/1.365, allocations: 6.573 MB / 1.42 GB, free: 12.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008103/1.373, allocations: 7.466 MB / 1.427 GB, free: 5.312 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.373, allocations: 0 / 1.427 GB, free: 5.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01648/1.389, allocations: 14.16 MB / 1.441 GB, free: 7.094 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.389, allocations: 8 kB / 1.441 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.389, allocations: 0 / 1.441 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/1.39, allocations: 92.77 kB / 1.441 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.391, allocations: 247.6 kB / 1.442 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/1.394, allocations: 1.635 MB / 1.443 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.395, allocations: 144.2 kB / 1.443 GB, free: 4.828 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/1.396, allocations: 55.97 kB / 1.443 GB, free: 4.773 MB / 1.123 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): 146 * Array equations: 12 * 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.001103/1.397, allocations: 0.6201 MB / 1.444 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/1.397, allocations: 138.2 kB / 1.444 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/1.4, allocations: 1.479 MB / 1.445 GB, free: 2.52 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.4, allocations: 12 kB / 1.446 GB, free: 2.508 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.4, allocations: 0 / 1.446 GB, free: 2.508 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.4, allocations: 11.91 kB / 1.446 GB, free: 2.496 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/1.403, allocations: 1.304 MB / 1.447 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.403, allocations: 3.938 kB / 1.447 GB, free: 1.133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/1.403, allocations: 175.8 kB / 1.447 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.404, allocations: 76.72 kB / 1.447 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/1.404, allocations: 35.98 kB / 1.447 GB, free: 0.8477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.406, allocations: 1.659 MB / 1.449 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.406, allocations: 0 / 1.449 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/1.409, allocations: 1.278 MB / 1.45 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/1.41, allocations: 366.9 kB / 1.45 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.41, allocations: 20 kB / 1.45 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/1.411, allocations: 75.92 kB / 1.45 GB, free: 13.26 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.411, allocations: 84.88 kB / 1.45 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/1.411, allocations: 43.98 kB / 1.451 GB, free: 13.14 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002736/1.414, allocations: 2.638 MB / 1.453 GB, free: 10.5 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.01e-07/1.414, allocations: 0 / 1.453 GB, free: 10.5 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00324/1.417, allocations: 1.014 MB / 1.454 GB, free: 9.48 MB / 1.139 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.002689/1.42, allocations: 0.9566 MB / 1.455 GB, free: 8.703 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008879/1.429, allocations: 8.384 MB / 1.463 GB, free: 312 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.429, allocations: 0 / 1.463 GB, free: 312 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.43, allocations: 0.6759 MB / 1.464 GB, free: 15.61 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.432, allocations: 363.8 kB / 1.464 GB, free: 15.28 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/1.439, allocations: 4.786 MB / 1.469 GB, free: 10.46 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.441, allocations: 1.722 MB / 1.471 GB, free: 8.711 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001764/1.443, allocations: 398.3 kB / 1.471 GB, free: 8.316 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/1.444, allocations: 151.3 kB / 1.471 GB, free: 8.168 MB / 1.154 GB Notification: Performance of SimCode: time 1.473e-06/1.444, allocations: 0 / 1.471 GB, free: 8.168 MB / 1.154 GB Notification: Performance of Templates: time 0.06413/1.508, allocations: 30.47 MB / 1.501 GB, free: 9.887 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches