Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001589/0.001589, allocations: 108.1 kB / 16.41 MB, free: 6.508 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.001586/0.001586, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.83 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7991, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01071/0.8098, allocations: 6.987 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1942/1.004, allocations: 155.4 MB / 1.326 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/1.005, allocations: 23.88 kB / 1.326 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00591/1.011, allocations: 1.824 MB / 1.328 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004042/1.016, allocations: 0.9101 MB / 1.329 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/1.019, allocations: 0.9853 MB / 1.33 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004004/1.023, allocations: 2.579 MB / 1.332 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/1.025, allocations: 0.9453 MB / 1.333 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/1.027, allocations: 0.9072 MB / 1.334 GB, free: 8.621 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/1.028, allocations: 0.9259 MB / 1.335 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/1.029, allocations: 188 kB / 1.335 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/1.033, allocations: 2.274 MB / 1.337 GB, free: 5.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/1.034, allocations: 1.154 MB / 1.338 GB, free: 4.074 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.035, allocations: 0.9444 MB / 1.339 GB, free: 3.125 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/1.04, allocations: 3.792 MB / 1.343 GB, free: 15.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.04, allocations: 0 / 1.343 GB, free: 15.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.04, allocations: 4 kB / 1.343 GB, free: 15.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.583e-05/1.041, allocations: 0 / 1.343 GB, free: 15.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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004889/1.045, allocations: 2.456 MB / 1.345 GB, free: 12.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.045, allocations: 8.922 kB / 1.345 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/1.047, allocations: 279.5 kB / 1.346 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/1.051, allocations: 2.941 MB / 1.348 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.051, allocations: 106.5 kB / 1.349 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.051, allocations: 136 kB / 1.349 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/1.053, allocations: 1.364 MB / 1.35 GB, free: 7.855 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.053, allocations: 0 / 1.35 GB, free: 7.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.054, allocations: 52 kB / 1.35 GB, free: 7.805 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/1.054, allocations: 32 kB / 1.35 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/1.056, allocations: 1.493 MB / 1.352 GB, free: 6.273 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.008648/1.065, allocations: 5.581 MB / 1.357 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/1.067, allocations: 1.118 MB / 1.358 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/1.068, allocations: 447.6 kB / 1.359 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.068, allocations: 45.08 kB / 1.359 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.069, allocations: 0.6489 MB / 1.359 GB, free: 14.24 MB / 1.092 GB Notification: Performance of pre-optimization done (n=100): time 2.495e-06/1.069, allocations: 0 / 1.359 GB, free: 14.24 MB / 1.092 GB Notification: Performance of matching and sorting (n=100): time 0.004161/1.073, allocations: 1.669 MB / 1.361 GB, free: 12.54 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.074, allocations: 188.9 kB / 1.361 GB, free: 12.31 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/1.079, allocations: 4.106 MB / 1.365 GB, free: 8.199 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/1.079, allocations: 53.7 kB / 1.365 GB, free: 8.141 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009045/1.08, allocations: 0.6581 MB / 1.366 GB, free: 7.477 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000548/1.081, allocations: 353 kB / 1.366 GB, free: 7.129 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.082, allocations: 0.9643 MB / 1.367 GB, free: 6.156 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.082, allocations: 301.1 kB / 1.367 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.088, allocations: 6.335 MB / 1.373 GB, free: 15.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007376/1.096, allocations: 6.577 MB / 1.38 GB, free: 8.914 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008703/1.105, allocations: 7.47 MB / 1.387 GB, free: 1.402 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/1.105, allocations: 0 / 1.387 GB, free: 1.402 MB / 1.107 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01739/1.122, allocations: 14.18 MB / 1.401 GB, free: 3.16 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.122, allocations: 8.125 kB / 1.401 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.122, allocations: 0 / 1.401 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/1.123, allocations: 84.77 kB / 1.401 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.124, allocations: 251.7 kB / 1.401 GB, free: 2.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/1.127, allocations: 1.634 MB / 1.403 GB, free: 1.043 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.128, allocations: 147.1 kB / 1.403 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/1.129, allocations: 55.97 kB / 1.403 GB, free: 0.8438 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.001374/1.13, allocations: 0.6169 MB / 1.404 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/1.13, allocations: 147 kB / 1.404 GB, free: 76 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/1.135, allocations: 1.474 MB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.135, allocations: 12 kB / 1.405 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.135, allocations: 0 / 1.405 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.135, allocations: 3.984 kB / 1.405 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.137, allocations: 1.323 MB / 1.407 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.137, allocations: 0 / 1.407 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/1.138, allocations: 183.8 kB / 1.407 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/1.138, allocations: 76.72 kB / 1.407 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.139, allocations: 31.97 kB / 1.407 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/1.141, allocations: 1.659 MB / 1.409 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.141, allocations: 3.938 kB / 1.409 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/1.144, allocations: 1.275 MB / 1.41 GB, free: 9.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/1.145, allocations: 371.6 kB / 1.41 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.145, allocations: 28 kB / 1.41 GB, free: 9.383 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000899/1.146, allocations: 70.73 kB / 1.41 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.146, allocations: 84.88 kB / 1.41 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.146, allocations: 47.97 kB / 1.41 GB, free: 9.188 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003039/1.149, allocations: 2.638 MB / 1.413 GB, free: 6.547 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.01e-07/1.149, allocations: 4 kB / 1.413 GB, free: 6.543 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002358/1.152, allocations: 1.037 MB / 1.414 GB, free: 5.504 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.003243/1.155, allocations: 0.9637 MB / 1.415 GB, free: 4.699 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009653/1.164, allocations: 8.38 MB / 1.423 GB, free: 12.31 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.164, allocations: 4 kB / 1.423 GB, free: 12.3 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/1.166, allocations: 0.6683 MB / 1.424 GB, free: 11.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.168, allocations: 360.1 kB / 1.424 GB, free: 11.29 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/1.176, allocations: 4.91 MB / 1.429 GB, free: 6.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.178, allocations: 1.715 MB / 1.431 GB, free: 4.594 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001295/1.179, allocations: 394.3 kB / 1.431 GB, free: 4.203 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/1.18, allocations: 151.4 kB / 1.431 GB, free: 4.055 MB / 1.154 GB Notification: Performance of SimCode: time 6.71e-07/1.18, allocations: 0 / 1.431 GB, free: 4.055 MB / 1.154 GB Notification: Performance of Templates: time 0.0628/1.242, allocations: 30.21 MB / 1.461 GB, free: 6.004 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches