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.004712/0.004712, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001197/0.001198, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9161, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009613/0.9258, allocations: 6.999 MB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1806/1.106, allocations: 155.4 MB / 1.325 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/1.108, allocations: 31.81 kB / 1.325 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005594/1.114, allocations: 1.81 MB / 1.327 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003931/1.118, allocations: 0.9084 MB / 1.328 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.121, allocations: 0.9912 MB / 1.329 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003726/1.125, allocations: 2.574 MB / 1.331 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/1.127, allocations: 0.9414 MB / 1.332 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/1.128, allocations: 0.9111 MB / 1.333 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/1.13, allocations: 0.922 MB / 1.334 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/1.131, allocations: 184 kB / 1.334 GB, free: 7.543 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/1.136, allocations: 2.282 MB / 1.336 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00133/1.137, allocations: 1.15 MB / 1.338 GB, free: 4.105 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/1.139, allocations: 0.9444 MB / 1.338 GB, free: 3.156 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007091/1.146, allocations: 3.796 MB / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.146, allocations: 0 / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.665e-06/1.146, allocations: 0 / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001106/1.146, allocations: 8 kB / 1.342 GB, free: 15.34 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.005967/1.152, allocations: 2.456 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.152, allocations: 8.922 kB / 1.345 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.153, allocations: 279.5 kB / 1.345 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/1.157, allocations: 2.937 MB / 1.348 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/1.157, allocations: 98.55 kB / 1.348 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/1.157, allocations: 140 kB / 1.348 GB, free: 9.312 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.159, allocations: 1.364 MB / 1.349 GB, free: 7.887 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/1.159, allocations: 3.984 kB / 1.349 GB, free: 7.883 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/1.159, allocations: 52 kB / 1.349 GB, free: 7.832 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/1.159, allocations: 32 kB / 1.349 GB, free: 7.801 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/1.162, allocations: 1.496 MB / 1.351 GB, free: 6.297 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.007657/1.169, allocations: 5.574 MB / 1.356 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/1.171, allocations: 1.124 MB / 1.357 GB, free: 15.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/1.172, allocations: 442 kB / 1.358 GB, free: 14.98 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.859e-05/1.172, allocations: 41 kB / 1.358 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.173, allocations: 0.6606 MB / 1.358 GB, free: 14.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=100): time 2.976e-06/1.173, allocations: 0 / 1.358 GB, free: 14.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=100): time 0.004049/1.177, allocations: 1.657 MB / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.178, allocations: 200.9 kB / 1.36 GB, free: 12.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/1.182, allocations: 4.102 MB / 1.364 GB, free: 8.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/1.182, allocations: 49.7 kB / 1.364 GB, free: 8.176 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/1.183, allocations: 0.662 MB / 1.365 GB, free: 7.508 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/1.183, allocations: 349.1 kB / 1.365 GB, free: 7.164 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/1.184, allocations: 0.9682 MB / 1.366 GB, free: 6.188 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/1.184, allocations: 305.1 kB / 1.367 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/1.19, allocations: 6.335 MB / 1.373 GB, free: 15.54 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006025/1.196, allocations: 6.577 MB / 1.379 GB, free: 8.941 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/1.203, allocations: 7.466 MB / 1.386 GB, free: 1.434 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.203, allocations: 0 / 1.386 GB, free: 1.434 MB / 1.107 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01445/1.218, allocations: 14.18 MB / 1.4 GB, free: 3.195 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/1.218, allocations: 12.12 kB / 1.4 GB, free: 3.184 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.218, allocations: 3.984 kB / 1.4 GB, free: 3.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/1.218, allocations: 84.77 kB / 1.4 GB, free: 3.094 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.219, allocations: 247.7 kB / 1.401 GB, free: 2.852 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.222, allocations: 1.646 MB / 1.402 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.223, allocations: 139.1 kB / 1.402 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.223, allocations: 55.97 kB / 1.402 GB, free: 0.8711 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.00109/1.224, allocations: 0.6208 MB / 1.403 GB, free: 248 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/1.225, allocations: 151 kB / 1.403 GB, free: 96 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/1.228, allocations: 1.466 MB / 1.405 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.228, allocations: 15.98 kB / 1.405 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.228, allocations: 0 / 1.405 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.228, allocations: 7.969 kB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.23, allocations: 1.319 MB / 1.406 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.23, allocations: 0 / 1.406 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/1.23, allocations: 179.8 kB / 1.406 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/1.231, allocations: 72.72 kB / 1.406 GB, free: 12.96 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/1.231, allocations: 31.98 kB / 1.406 GB, free: 12.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.233, allocations: 1.659 MB / 1.408 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.233, allocations: 3.938 kB / 1.408 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/1.235, allocations: 1.275 MB / 1.409 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/1.236, allocations: 375.7 kB / 1.409 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.236, allocations: 24 kB / 1.409 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/1.237, allocations: 71.92 kB / 1.41 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.237, allocations: 84.88 kB / 1.41 GB, free: 9.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.237, allocations: 43.98 kB / 1.41 GB, free: 9.219 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002843/1.24, allocations: 2.638 MB / 1.412 GB, free: 6.578 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.24, allocations: 4 kB / 1.412 GB, free: 6.574 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002881/1.243, allocations: 1.037 MB / 1.413 GB, free: 5.535 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.002711/1.246, allocations: 0.9662 MB / 1.414 GB, free: 4.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008884/1.255, allocations: 8.384 MB / 1.422 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.255, allocations: 0 / 1.422 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.256, allocations: 0.6722 MB / 1.423 GB, free: 11.65 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.258, allocations: 357.7 kB / 1.423 GB, free: 11.31 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/1.265, allocations: 4.894 MB / 1.428 GB, free: 6.379 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.266, allocations: 1.719 MB / 1.43 GB, free: 4.629 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001247/1.267, allocations: 394.3 kB / 1.43 GB, free: 4.238 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/1.268, allocations: 147.4 kB / 1.43 GB, free: 4.094 MB / 1.154 GB Notification: Performance of SimCode: time 5.81e-07/1.268, allocations: 4 kB / 1.43 GB, free: 4.09 MB / 1.154 GB Notification: Performance of Templates: time 0.05625/1.324, allocations: 30.11 MB / 1.46 GB, free: 6.141 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 -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/jenkins/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