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.007855/0.007855, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001597/0.001597, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 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.468/2.468, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001154, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9669/0.968, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008787/0.9768, allocations: 7 MB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1673/1.144, allocations: 155.4 MB / 1.325 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/1.146, allocations: 23.88 kB / 1.325 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004744/1.15, allocations: 1.794 MB / 1.327 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/1.153, allocations: 0.8943 MB / 1.328 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/1.156, allocations: 0.9899 MB / 1.329 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003234/1.159, allocations: 2.586 MB / 1.331 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/1.161, allocations: 0.9376 MB / 1.332 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/1.162, allocations: 0.8994 MB / 1.333 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/1.164, allocations: 0.9299 MB / 1.334 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004514/1.164, allocations: 187.9 kB / 1.334 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/1.168, allocations: 2.267 MB / 1.336 GB, free: 5.312 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/1.169, allocations: 1.15 MB / 1.338 GB, free: 4.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/1.17, allocations: 0.9444 MB / 1.338 GB, free: 3.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005567/1.176, allocations: 3.784 MB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.176, allocations: 0 / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.843e-06/1.176, allocations: 0 / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001128/1.176, allocations: 0 / 1.342 GB, free: 15.41 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.005285/1.181, allocations: 2.453 MB / 1.345 GB, free: 12.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.182, allocations: 8.922 kB / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.183, allocations: 279.5 kB / 1.345 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/1.186, allocations: 2.941 MB / 1.348 GB, free: 9.621 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/1.186, allocations: 98.55 kB / 1.348 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/1.186, allocations: 139.9 kB / 1.348 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.189, allocations: 1.364 MB / 1.349 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.189, allocations: 15.94 kB / 1.349 GB, free: 7.945 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/1.189, allocations: 52 kB / 1.349 GB, free: 7.895 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/1.189, allocations: 28 kB / 1.349 GB, free: 7.867 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/1.191, allocations: 1.496 MB / 1.351 GB, free: 6.363 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.007517/1.199, allocations: 5.575 MB / 1.356 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/1.201, allocations: 1.126 MB / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/1.202, allocations: 443.6 kB / 1.358 GB, free: 15.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/1.202, allocations: 41.08 kB / 1.358 GB, free: 15.01 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.203, allocations: 0.6567 MB / 1.358 GB, free: 14.33 MB / 1.092 GB Notification: Performance of pre-optimization done (n=100): time 3.777e-06/1.203, allocations: 0 / 1.358 GB, free: 14.33 MB / 1.092 GB Notification: Performance of matching and sorting (n=100): time 0.003978/1.207, allocations: 1.661 MB / 1.36 GB, free: 12.64 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.207, allocations: 196.9 kB / 1.36 GB, free: 12.41 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/1.212, allocations: 4.106 MB / 1.364 GB, free: 8.293 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.212, allocations: 45.7 kB / 1.364 GB, free: 8.242 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/1.213, allocations: 0.662 MB / 1.365 GB, free: 7.574 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/1.213, allocations: 353 kB / 1.365 GB, free: 7.227 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/1.214, allocations: 0.9643 MB / 1.366 GB, free: 6.254 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.214, allocations: 305.1 kB / 1.367 GB, free: 5.953 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005994/1.22, allocations: 6.335 MB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006384/1.226, allocations: 6.581 MB / 1.379 GB, free: 9.004 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007703/1.234, allocations: 7.47 MB / 1.386 GB, free: 1.492 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.234, allocations: 0 / 1.386 GB, free: 1.492 MB / 1.107 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01493/1.249, allocations: 14.18 MB / 1.4 GB, free: 3.254 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.249, allocations: 8 kB / 1.4 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.249, allocations: 0 / 1.4 GB, free: 3.246 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/1.25, allocations: 80.84 kB / 1.4 GB, free: 3.164 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.251, allocations: 247.7 kB / 1.401 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.253, allocations: 1.644 MB / 1.402 GB, free: 1.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.254, allocations: 131.2 kB / 1.402 GB, free: 1.008 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.254, allocations: 63.95 kB / 1.402 GB, free: 0.9453 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.0009247/1.255, allocations: 0.6222 MB / 1.403 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/1.256, allocations: 147 kB / 1.403 GB, free: 176 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.259, allocations: 1.482 MB / 1.405 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.259, allocations: 12 kB / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.259, allocations: 0 / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.259, allocations: 3.984 kB / 1.405 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/1.261, allocations: 1.311 MB / 1.406 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.108e-06/1.261, allocations: 0 / 1.406 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.262, allocations: 183.7 kB / 1.406 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/1.262, allocations: 76.78 kB / 1.406 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.898e-05/1.262, allocations: 31.97 kB / 1.406 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.264, allocations: 1.655 MB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.264, allocations: 3.938 kB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/1.267, allocations: 1.283 MB / 1.409 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009467/1.268, allocations: 371.8 kB / 1.409 GB, free: 9.508 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/1.268, allocations: 27.98 kB / 1.409 GB, free: 9.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.269, allocations: 74.42 kB / 1.409 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.27, allocations: 80.88 kB / 1.41 GB, free: 9.332 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.27, allocations: 51.97 kB / 1.41 GB, free: 9.281 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0033/1.273, allocations: 2.63 MB / 1.412 GB, free: 6.648 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.994e-06/1.273, allocations: 0 / 1.412 GB, free: 6.648 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003286/1.276, allocations: 1.037 MB / 1.413 GB, free: 5.609 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.003525/1.28, allocations: 0.9568 MB / 1.414 GB, free: 4.809 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008333/1.288, allocations: 8.388 MB / 1.422 GB, free: 12.41 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.288, allocations: 0 / 1.422 GB, free: 12.41 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/1.29, allocations: 0.6683 MB / 1.423 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.291, allocations: 362.3 kB / 1.423 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/1.299, allocations: 4.883 MB / 1.428 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/1.3, allocations: 1.726 MB / 1.43 GB, free: 4.711 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001129/1.302, allocations: 386.3 kB / 1.43 GB, free: 4.328 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/1.302, allocations: 143.4 kB / 1.43 GB, free: 4.188 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.302, allocations: 0 / 1.43 GB, free: 4.188 MB / 1.154 GB Notification: Performance of Templates: time 0.05482/1.357, allocations: 30.03 MB / 1.46 GB, free: 6.309 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